#864CC7#864CC7
#864CC7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.185 H 302.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #864CC7 |
|---|---|
| RGB | rgb(134, 76, 199) |
| HSL | hsl(268, 52%, 54%) |
| HSV | hsv(268, 62%, 78%) |
| CMYK | cmyk(32.7%, 61.8%, 0%, 22%) |
| CIE-LAB | lab(44.75, 48.48, -55.12) |
| CIE-LCH | lch(44.75, 73.41, 311.33°) |
| OKLab | oklab(54.45% 0.099 -0.1563) |
| OKLCH | oklch(54.45% 0.185 302.3) |
| XYZ | xyz(22.7224, 14.3607, 55.5966) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.27
Royal Purple
#7851A9
ΔE00 5.42
Purply
#983FB2
ΔE00 6.11
Deep Lavender
#8D5EB7
ΔE00 6.19
Blueviolet
#8A2BE2
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864CC7 #8DC74C
analogous
#4C50C7 #864CC7 #C44CC7
triadic
#864CC7 #C7864C #4CC786
tetradic
#864CC7 #C74C50 #8DC74C #4CC7C4
square
#864CC7 #C74C50 #8DC74C #4CC7C4
split-complementary
#864CC7 #C7C44C #50C74C
monochromatic
#4A2474 #6833A3 #864CC7 #A67BD6 #C5A9E4
Accessibility & contrast
On white
5.42
#864CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#864CC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864CC7
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864CC7 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2669C4
Tritanopia (blue-blind)
#796682
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864cc7; /* rgb */ color: rgb(134, 76, 199); /* oklch */ color: oklch(54.5% 0.185 302.3);
Tailwind
colors: {
custom: {
50: '#ad81d9',
500: '#864cc7',
950: '#000000',
},
}SCSS
$custom: #864cc7; $custom-light: #ad81d9; $custom-dark: #000000;
JSON
{
"hex": "#864cc7",
"rgb": {
"r": 134,
"g": 76,
"b": 199
},
"hsl": {
"h": 268.293,
"s": 52.34,
"l": 53.922
},
"oklch": {
"l": 0.54454,
"c": 0.18502,
"h": 302.3
},
"luminance": 0.14361
}Semantic roles & 50–950 ramp
primary
#864CC7
secondary
#B9D29D
accent
#DC4C98
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A15
muted
#807C83