#864ED2#864ED2
#864ED2 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.5% C 0.195 H 299.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #864ED2 |
|---|---|
| RGB | rgb(134, 78, 210) |
| HSL | hsl(265, 59%, 56%) |
| HSV | hsv(265, 63%, 82%) |
| CMYK | cmyk(36.2%, 62.9%, 0%, 17.6%) |
| CIE-LAB | lab(45.87, 50.18, -59.65) |
| CIE-LCH | lch(45.87, 77.95, 310.07°) |
| OKLab | oklab(55.5% 0.096 -0.1696) |
| OKLCH | oklch(55.5% 0.195 299.5) |
| XYZ | xyz(24.1859, 15.1700, 62.6142) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 5.70
Darkorchid
#9932CC
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.13
Slate Blue
#6A5ACD
ΔE00 6.21
Bluish Purple
#703BE7
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ED2 #9AD24E
analogous
#4E58D2 #864ED2 #C84ED2
triadic
#864ED2 #D2864E #4ED286
tetradic
#864ED2 #D24E58 #9AD24E #4ED2C8
square
#864ED2 #D24E58 #9AD24E #4ED2C8
split-complementary
#864ED2 #D2C84E #58D24E
monochromatic
#4B2284 #672EB5 #864ED2 #A77FDE #C9B0EB
Accessibility & contrast
On white
5.21
#864ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#864ED2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ED2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ED2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ED2 | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#126CCF
Tritanopia (blue-blind)
#756B89
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #864ed2; /* rgb */ color: rgb(134, 78, 210); /* oklch */ color: oklch(55.5% 0.195 299.5);
Tailwind
colors: {
custom: {
50: '#ae82e1',
500: '#864ed2',
950: '#000000',
},
}SCSS
$custom: #864ed2; $custom-light: #ae82e1; $custom-dark: #000000;
JSON
{
"hex": "#864ed2",
"rgb": {
"r": 134,
"g": 78,
"b": 210
},
"hsl": {
"h": 265.455,
"s": 59.459,
"l": 56.471
},
"oklch": {
"l": 0.55499,
"c": 0.19491,
"h": 299.5
},
"luminance": 0.1517
}Semantic roles & 50–950 ramp
primary
#864ED2
secondary
#C2D9A3
accent
#E345A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83