#864FCB#864FCB
#864FCB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.2% C 0.185 H 300.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #864FCB |
|---|---|
| RGB | rgb(134, 79, 203) |
| HSL | hsl(267, 54%, 55%) |
| HSV | hsv(267, 61%, 80%) |
| CMYK | cmyk(34%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(45.60, 47.89, -56.06) |
| CIE-LCH | lch(45.60, 73.73, 310.51°) |
| OKLab | oklab(55.16% 0.0953 -0.1591) |
| OKLCH | oklch(55.16% 0.185 300.9) |
| XYZ | xyz(23.4044, 14.9720, 58.1452) |
| Luminance | 0.1497 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.32
Royal Purple
#7851A9
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 5.92
Deep Lavender
#8D5EB7
ΔE00 5.98
Slate Blue
#6A5ACD
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FCB #94CB4F
analogous
#4F56CB #864FCB #C44FCB
triadic
#864FCB #CB864F #4FCB86
tetradic
#864FCB #CB4F56 #94CB4F #4FCBC4
square
#864FCB #CB4F56 #94CB4F #4FCBC4
split-complementary
#864FCB #CBC44F #56CB4F
monochromatic
#4B247B #6832AA #864FCB #A67ED9 #C7ADE7
Accessibility & contrast
On white
5.26
#864FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#864FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FCB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FCB | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#786986
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #864fcb; /* rgb */ color: rgb(134, 79, 203); /* oklch */ color: oklch(55.2% 0.185 300.9);
Tailwind
colors: {
custom: {
50: '#ae83dc',
500: '#864fcb',
950: '#000000',
},
}SCSS
$custom: #864fcb; $custom-light: #ae83dc; $custom-dark: #000000;
JSON
{
"hex": "#864fcb",
"rgb": {
"r": 134,
"g": 79,
"b": 203
},
"hsl": {
"h": 266.613,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.55155,
"c": 0.18542,
"h": 300.9
},
"luminance": 0.14972
}Semantic roles & 50–950 ramp
primary
#864FCB
secondary
#BED5A1
accent
#DE4A9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83