#862F99#862F99
#862F99 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.7% C 0.177 H 319.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #862F99 |
|---|---|
| RGB | rgb(134, 47, 153) |
| HSL | hsl(289, 53%, 39%) |
| HSV | hsv(289, 69%, 60%) |
| CMYK | cmyk(12.4%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(36.75, 52.11, -40.73) |
| CIE-LCH | lch(36.75, 66.14, 321.99°) |
| OKLab | oklab(47.74% 0.1354 -0.114) |
| OKLCH | oklch(47.74% 0.177 319.9) |
| XYZ | xyz(16.5971, 9.4021, 31.0714) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.57
Warm Purple
#952E8F
ΔE00 4.37
Darkmagenta
#8B008B
ΔE00 5.14
Barney Purple
#A00498
ΔE00 5.36
Purply
#983FB2
ΔE00 6.05
Purple
#800080
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F99 #42992F
analogous
#512F99 #862F99 #992F77
triadic
#862F99 #99862F #2F9986
tetradic
#862F99 #99512F #42992F #2F7799
square
#862F99 #99512F #42992F #2F7799
split-complementary
#862F99 #77992F #2F9951
monochromatic
#34123B #5D216A #862F99 #AD41C5 #C16FD3
Accessibility & contrast
On white
7.29
#862F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#862F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F99
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F99 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#03519C
Deuteranopia (green-blind)
#385996
Tritanopia (blue-blind)
#864260
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #862f99; /* rgb */ color: rgb(134, 47, 153); /* oklch */ color: oklch(47.7% 0.177 319.9);
Tailwind
colors: {
custom: {
50: '#ac6fb7',
500: '#862f99',
950: '#000000',
},
}SCSS
$custom: #862f99; $custom-light: #ac6fb7; $custom-dark: #000000;
JSON
{
"hex": "#862f99",
"rgb": {
"r": 134,
"g": 47,
"b": 153
},
"hsl": {
"h": 289.245,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.4774,
"c": 0.17695,
"h": 319.9
},
"luminance": 0.09401
}Semantic roles & 50–950 ramp
primary
#862F99
secondary
#78BA69
accent
#DC4B65
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80