#864ED1#864ED1
#864ED1 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.194 H 299.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #864ED1 |
|---|---|
| RGB | rgb(134, 78, 209) |
| HSL | hsl(266, 59%, 56%) |
| HSV | hsv(266, 63%, 82%) |
| CMYK | cmyk(35.9%, 62.7%, 0%, 18%) |
| CIE-LAB | lab(45.80, 49.93, -59.19) |
| CIE-LCH | lch(45.80, 77.43, 310.15°) |
| OKLab | oklab(55.43% 0.0961 -0.1683) |
| OKLCH | oklch(55.43% 0.194 299.7) |
| XYZ | xyz(24.0617, 15.1203, 61.9601) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 5.73
Darkorchid
#9932CC
ΔE00 5.93
Blueviolet
#8A2BE2
ΔE00 6.17
Slate Blue
#6A5ACD
ΔE00 6.24
Bluish Purple
#703BE7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ED1 #99D14E
analogous
#4E58D1 #864ED1 #C84ED1
triadic
#864ED1 #D1864E #4ED186
tetradic
#864ED1 #D14E58 #99D14E #4ED1C8
square
#864ED1 #D14E58 #99D14E #4ED1C8
split-complementary
#864ED1 #D1C84E #58D14E
monochromatic
#4B2283 #672FB3 #864ED1 #A77FDE #C8AFEA
Accessibility & contrast
On white
5.22
#864ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#864ED1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ED1
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ED1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ED1 | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#166BCE
Tritanopia (blue-blind)
#756B88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #864ed1; /* rgb */ color: rgb(134, 78, 209); /* oklch */ color: oklch(55.4% 0.194 299.7);
Tailwind
colors: {
custom: {
50: '#ae82e0',
500: '#864ed1',
950: '#000000',
},
}SCSS
$custom: #864ed1; $custom-light: #ae82e0; $custom-dark: #000000;
JSON
{
"hex": "#864ed1",
"rgb": {
"r": 134,
"g": 78,
"b": 209
},
"hsl": {
"h": 265.649,
"s": 58.744,
"l": 56.275
},
"oklch": {
"l": 0.55429,
"c": 0.19376,
"h": 299.7
},
"luminance": 0.15121
}Semantic roles & 50–950 ramp
primary
#864ED1
secondary
#C1D8A2
accent
#E2469F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83