#864ED0#864ED0
#864ED0 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.193 H 299.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #864ED0 |
|---|---|
| RGB | rgb(134, 78, 208) |
| HSL | hsl(266, 58%, 56%) |
| HSV | hsv(266, 63%, 82%) |
| CMYK | cmyk(35.6%, 62.5%, 0%, 18.4%) |
| CIE-LAB | lab(45.73, 49.68, -58.72) |
| CIE-LCH | lch(45.73, 76.91, 310.23°) |
| OKLab | oklab(55.36% 0.0962 -0.1669) |
| OKLCH | oklch(55.36% 0.193 299.9) |
| XYZ | xyz(23.9383, 15.0710, 61.3101) |
| Luminance | 0.1507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.78
Light Indigo
#6D5ACF
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 5.88
Blueviolet
#8A2BE2
ΔE00 6.20
Slate Blue
#6A5ACD
ΔE00 6.26
Bluish Purple
#703BE7
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ED0 #98D04E
analogous
#4E57D0 #864ED0 #C74ED0
triadic
#864ED0 #D0864E #4ED086
tetradic
#864ED0 #D04E57 #98D04E #4ED0C7
square
#864ED0 #D04E57 #98D04E #4ED0C7
split-complementary
#864ED0 #D0C74E #57D04E
monochromatic
#4B2281 #672FB2 #864ED0 #A77EDD #C8AFEA
Accessibility & contrast
On white
5.23
#864ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#864ED0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ED0
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ED0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ED0 | 1.00 | 5.23 | 4.01 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#186BCD
Tritanopia (blue-blind)
#766A88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #864ed0; /* rgb */ color: rgb(134, 78, 208); /* oklch */ color: oklch(55.4% 0.193 299.9);
Tailwind
colors: {
custom: {
50: '#ae82df',
500: '#864ed0',
950: '#000000',
},
}SCSS
$custom: #864ed0; $custom-light: #ae82df; $custom-dark: #000000;
JSON
{
"hex": "#864ed0",
"rgb": {
"r": 134,
"g": 78,
"b": 208
},
"hsl": {
"h": 265.846,
"s": 58.036,
"l": 56.078
},
"oklch": {
"l": 0.55359,
"c": 0.19261,
"h": 299.9
},
"luminance": 0.15071
}Semantic roles & 50–950 ramp
primary
#864ED0
secondary
#C1D8A2
accent
#E1479F
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83