#864CE1#864CE1
#864CE1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.215 H 296.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #864CE1 |
|---|---|
| RGB | rgb(134, 76, 225) |
| HSL | hsl(263, 71%, 59%) |
| HSV | hsv(263, 66%, 88%) |
| CMYK | cmyk(40.4%, 66.2%, 0%, 11.8%) |
| CIE-LAB | lab(46.54, 55.01, -67.11) |
| CIE-LCH | lch(46.54, 86.78, 309.34°) |
| OKLab | oklab(56.32% 0.0967 -0.1916) |
| OKLCH | oklch(56.32% 0.215 296.8) |
| XYZ | xyz(26.0030, 15.6730, 72.8747) |
| Luminance | 0.1567 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.55
Bluish Purple
#703BE7
ΔE00 5.33
Blueviolet
#8A2BE2
ΔE00 5.67
Light Indigo
#6D5ACF
ΔE00 5.97
Lightish Purple
#A552E6
ΔE00 6.17
Purpleish Blue
#6140EF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864CE1 #A7E14C
analogous
#4C5DE1 #864CE1 #D14CE1
triadic
#864CE1 #E1864C #4CE186
tetradic
#864CE1 #E14C5D #A7E14C #4CE1D1
square
#864CE1 #E14C5D #A7E14C #4CE1D1
split-complementary
#864CE1 #E1D14C #5DE14C
monochromatic
#4B1A99 #6522CD #864CE1 #A980EA #CDB5F3
Accessibility & contrast
On white
5.08
#864CE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#864CE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864CE1
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864CE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864CE1 | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006CDE
Tritanopia (blue-blind)
#6F6F90
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #864ce1; /* rgb */ color: rgb(134, 76, 225); /* oklch */ color: oklch(56.3% 0.215 296.8);
Tailwind
colors: {
custom: {
50: '#b082eb',
500: '#864ce1',
950: '#000000',
},
}SCSS
$custom: #864ce1; $custom-light: #b082eb; $custom-dark: #000000;
JSON
{
"hex": "#864ce1",
"rgb": {
"r": 134,
"g": 76,
"b": 225
},
"hsl": {
"h": 263.356,
"s": 71.292,
"l": 59.02
},
"oklch": {
"l": 0.56319,
"c": 0.21457,
"h": 296.8
},
"luminance": 0.15673
}Semantic roles & 50–950 ramp
primary
#864CE1
secondary
#CBE2A7
accent
#EE3AA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84