#864CD6#864CD6
#864CD6 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.5% C 0.202 H 299.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #864CD6 |
|---|---|
| RGB | rgb(134, 76, 214) |
| HSL | hsl(265, 63%, 57%) |
| HSV | hsv(265, 64%, 84%) |
| CMYK | cmyk(37.4%, 64.5%, 0%, 16.1%) |
| CIE-LAB | lab(45.76, 52.22, -62.11) |
| CIE-LCH | lch(45.76, 81.15, 310.05°) |
| OKLab | oklab(55.51% 0.0979 -0.1769) |
| OKLCH | oklch(55.51% 0.202 299) |
| XYZ | xyz(24.5505, 15.0920, 65.2249) |
| Luminance | 0.1509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.43
Blueviolet
#8A2BE2
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.83
Light Indigo
#6D5ACF
ΔE00 5.89
Slate Blue
#6A5ACD
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864CD6 #9CD64C
analogous
#4C57D6 #864CD6 #CB4CD6
triadic
#864CD6 #D6864C #4CD686
tetradic
#864CD6 #D64C57 #9CD64C #4CD6CB
square
#864CD6 #D64C57 #9CD64C #4CD6CB
split-complementary
#864CD6 #D6CB4C #57D64C
monochromatic
#4B1F88 #672BBA #864CD6 #A87EE1 #C9B0ED
Accessibility & contrast
On white
5.23
#864CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#864CD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864CD6
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864CD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864CD6 | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#006BD3
Tritanopia (blue-blind)
#746B8A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #864cd6; /* rgb */ color: rgb(134, 76, 214); /* oklch */ color: oklch(55.5% 0.202 299.0);
Tailwind
colors: {
custom: {
50: '#af81e3',
500: '#864cd6',
950: '#000000',
},
}SCSS
$custom: #864cd6; $custom-light: #af81e3; $custom-dark: #000000;
JSON
{
"hex": "#864cd6",
"rgb": {
"r": 134,
"g": 76,
"b": 214
},
"hsl": {
"h": 265.217,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.5551,
"c": 0.20215,
"h": 299
},
"luminance": 0.15092
}Semantic roles & 50–950 ramp
primary
#864CD6
secondary
#C3DBA3
accent
#E642A1
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#110B16
muted
#807C84