#864ED6#864ED6
#864ED6 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.8% C 0.200 H 298.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #864ED6 |
|---|---|
| RGB | rgb(134, 78, 214) |
| HSL | hsl(265, 62%, 57%) |
| HSV | hsv(265, 64%, 84%) |
| CMYK | cmyk(37.4%, 63.6%, 0%, 16.1%) |
| CIE-LAB | lab(46.14, 51.19, -61.50) |
| CIE-LCH | lch(46.14, 80.02, 309.77°) |
| OKLab | oklab(55.78% 0.0957 -0.1751) |
| OKLCH | oklch(55.78% 0.2 298.7) |
| XYZ | xyz(24.6905, 15.3718, 65.2715) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 5.63
Bluish Purple
#703BE7
ΔE00 5.99
Blueviolet
#8A2BE2
ΔE00 6.05
Slate Blue
#6A5ACD
ΔE00 6.16
Darkorchid
#9932CC
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ED6 #9ED64E
analogous
#4E5AD6 #864ED6 #CA4ED6
triadic
#864ED6 #D6864E #4ED686
tetradic
#864ED6 #D64E5A #9ED64E #4ED6CA
square
#864ED6 #D64E5A #9ED64E #4ED6CA
split-complementary
#864ED6 #D6CA4E #5AD64E
monochromatic
#4B208A #672BBB #864ED6 #A880E2 #CAB1ED
Accessibility & contrast
On white
5.15
#864ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#864ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ED6
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ED6 | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#006CD3
Tritanopia (blue-blind)
#746D8B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #864ed6; /* rgb */ color: rgb(134, 78, 214); /* oklch */ color: oklch(55.8% 0.200 298.7);
Tailwind
colors: {
custom: {
50: '#af83e3',
500: '#864ed6',
950: '#000000',
},
}SCSS
$custom: #864ed6; $custom-light: #af83e3; $custom-dark: #000000;
JSON
{
"hex": "#864ed6",
"rgb": {
"r": 134,
"g": 78,
"b": 214
},
"hsl": {
"h": 264.706,
"s": 62.385,
"l": 57.255
},
"oklch": {
"l": 0.55784,
"c": 0.19951,
"h": 298.7
},
"luminance": 0.15372
}Semantic roles & 50–950 ramp
primary
#864ED6
secondary
#C5DBA4
accent
#E542A2
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84