#8A67DD

A color in the Violet family

#8a67dd is a color in the Violet family: RGB(138, 103, 221), HSL(258°, 63%, 64%), CMYK(38%, 53%, 0%, 13%). Closest named color: mediumpurple. Contrast is 4.15:1 on white and 5.06:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#8a67dd
RGBrgb(138 103 221)
RGB (legacy)rgb(138, 103, 221)
RGB %rgb(54% 40% 87%)
HSLhsl(258 63% 64%)
HSV / HSBhsv(258, 53%, 87%)
HWBhwb(258 40% 13%)
CMYKcmyk(38%, 53%, 0%, 13%)
CIELAB (D50)lab(51.57 34.46 -56.4)
LCHlch(51.57 66.1 301.42)
OKLaboklab(0.6046 0.0713 -0.1579)
OKLCHoklch(0.6046 0.1733 294.31)
Decimal9070557

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 2.8
Closest web-safe color#9966cc
Hue258°
Saturation (HSL / HSV)63% / 53%
Lightness (HSL)64%
Brightness or Value (HSV)87%
Luminance (Rec.601 / Rec.709)50% / 47%
Relative luminance (WCAG)0.2032
Red / Green / Blue138 / 103 / 221

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.15:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
5.06:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 68.3 / -33.4 · As background with white / black text: Lc -73.8 / 35.8

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #8a67dd;
  --color-brand-oklch: oklch(60.46% 0.1733 294.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(138 103 221 / 50%); }
/* Tailwind CSS */
<div class="bg-[#8a67dd] text-[#8a67dd] border-[#8a67dd]">