#862F97#862F97
#862F97 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 320.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #862F97 |
|---|---|
| RGB | rgb(134, 47, 151) |
| HSL | hsl(290, 53%, 39%) |
| HSV | hsv(290, 69%, 59%) |
| CMYK | cmyk(11.3%, 68.9%, 0%, 40.8%) |
| CIE-LAB | lab(36.62, 51.72, -39.71) |
| CIE-LCH | lch(36.62, 65.20, 322.48°) |
| OKLab | oklab(47.61% 0.1354 -0.111) |
| OKLCH | oklch(47.61% 0.175 320.7) |
| XYZ | xyz(16.4333, 9.3366, 30.2087) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 4.10
Darkmagenta
#8B008B
ΔE00 4.97
Barney Purple
#A00498
ΔE00 5.25
Purply
#983FB2
ΔE00 6.24
Purple
#800080
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862F97 #40972F
analogous
#522F97 #862F97 #972F74
triadic
#862F97 #97862F #2F9786
tetradic
#862F97 #97522F #40972F #2F7497
square
#862F97 #97522F #40972F #2F7497
split-complementary
#862F97 #74972F #2F9752
monochromatic
#33123A #5D2068 #862F97 #AE40C3 #C26ED2
Accessibility & contrast
On white
7.32
#862F97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#862F97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862F97
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862F97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862F97 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#09509A
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#87415F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #862f97; /* rgb */ color: rgb(134, 47, 151); /* oklch */ color: oklch(47.6% 0.175 320.7);
Tailwind
colors: {
custom: {
50: '#ac6fb6',
500: '#862f97',
950: '#000000',
},
}SCSS
$custom: #862f97; $custom-light: #ac6fb6; $custom-dark: #000000;
JSON
{
"hex": "#862f97",
"rgb": {
"r": 134,
"g": 47,
"b": 151
},
"hsl": {
"h": 290.192,
"s": 52.525,
"l": 38.824
},
"oklch": {
"l": 0.47612,
"c": 0.1751,
"h": 320.7
},
"luminance": 0.09336
}Semantic roles & 50–950 ramp
primary
#862F97
secondary
#76B968
accent
#DC4C63
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110811
muted
#807B80