#864FCE#864FCE
#864FCE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.4% C 0.189 H 300.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #864FCE |
|---|---|
| RGB | rgb(134, 79, 206) |
| HSL | hsl(266, 56%, 56%) |
| HSV | hsv(266, 62%, 81%) |
| CMYK | cmyk(35%, 61.7%, 0%, 19.2%) |
| CIE-LAB | lab(45.79, 48.65, -57.47) |
| CIE-LCH | lch(45.79, 75.30, 310.25°) |
| OKLab | oklab(55.36% 0.0951 -0.1632) |
| OKLCH | oklch(55.36% 0.189 300.2) |
| XYZ | xyz(23.7654, 15.1163, 60.0462) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.90
Light Indigo
#6D5ACF
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 6.00
Slate Blue
#6A5ACD
ΔE00 6.21
Deep Lavender
#8D5EB7
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FCE #97CE4F
analogous
#4F57CE #864FCE #C54FCE
triadic
#864FCE #CE864F #4FCE86
tetradic
#864FCE #CE4F57 #97CE4F #4FCEC5
square
#864FCE #CE4F57 #97CE4F #4FCEC5
split-complementary
#864FCE #CEC54F #57CE4F
monochromatic
#4B237F #6731AF #864FCE #A77FDB #C8AFE9
Accessibility & contrast
On white
5.22
#864FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#864FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FCE
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FCE | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#206CCB
Tritanopia (blue-blind)
#776A87
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #864fce; /* rgb */ color: rgb(134, 79, 206); /* oklch */ color: oklch(55.4% 0.189 300.2);
Tailwind
colors: {
custom: {
50: '#ae83de',
500: '#864fce',
950: '#000000',
},
}SCSS
$custom: #864fce; $custom-light: #ae83de; $custom-dark: #000000;
JSON
{
"hex": "#864fce",
"rgb": {
"r": 134,
"g": 79,
"b": 206
},
"hsl": {
"h": 265.984,
"s": 56.444,
"l": 55.882
},
"oklch": {
"l": 0.55361,
"c": 0.18891,
"h": 300.2
},
"luminance": 0.15117
}Semantic roles & 50–950 ramp
primary
#864FCE
secondary
#C0D7A2
accent
#E0489E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83