#862779#862779
#862779 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.160 H 333.9°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #862779 |
|---|---|
| RGB | rgb(134, 39, 121) |
| HSL | hsl(308, 55%, 34%) |
| HSV | hsv(308, 71%, 53%) |
| CMYK | cmyk(0%, 70.9%, 9.7%, 47.5%) |
| CIE-LAB | lab(33.78, 49.56, -25.69) |
| CIE-LCH | lch(33.78, 55.82, 332.60°) |
| OKLab | oklab(45.01% 0.1436 -0.0703) |
| OKLCH | oklch(45.01% 0.16 333.9) |
| XYZ | xyz(14.0083, 7.9010, 18.8727) |
| Luminance | 0.0790 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 4.57
Darkmagenta
#8B008B
ΔE00 5.14
Purple
#800080
ΔE00 5.21
Bruise
#7E4071
ΔE00 6.32
Barney Purple
#A00498
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#862779 #278634
analogous
#642786 #862779 #86274A
triadic
#862779 #798627 #277986
tetradic
#862779 #866427 #278634 #274A86
square
#862779 #866427 #278634 #274A86
split-complementary
#862779 #4A8627 #278664
monochromatic
#270B23 #57194E #862779 #B535A4 #CF59BE
Accessibility & contrast
On white
8.14
#862779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#862779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #862779
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##862779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##862779 | 1.00 | 8.14 | 2.58 | 8.14 |
| #FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25477B
Deuteranopia (green-blind)
#465477
Tritanopia (blue-blind)
#8C2F4D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #862779; /* rgb */ color: rgb(134, 39, 121); /* oklch */ color: oklch(45.0% 0.160 333.9);
Tailwind
colors: {
custom: {
50: '#ac6aa0',
500: '#862779',
950: '#000000',
},
}SCSS
$custom: #862779; $custom-light: #ac6aa0; $custom-dark: #000000;
JSON
{
"hex": "#862779",
"rgb": {
"r": 134,
"g": 39,
"b": 121
},
"hsl": {
"h": 308.211,
"s": 54.913,
"l": 33.922
},
"oklch": {
"l": 0.45011,
"c": 0.15986,
"h": 333.9
},
"luminance": 0.079
}Semantic roles & 50–950 ramp
primary
#862779
secondary
#55B462
accent
#DE5E4A
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E