#864BCB#864BCB
#864BCB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.6% C 0.191 H 301.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #864BCB |
|---|---|
| RGB | rgb(134, 75, 203) |
| HSL | hsl(268, 55%, 55%) |
| HSV | hsv(268, 63%, 80%) |
| CMYK | cmyk(34%, 63.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.82, 49.99, -57.32) |
| CIE-LCH | lch(44.82, 76.05, 311.10°) |
| OKLab | oklab(54.59% 0.0999 -0.1627) |
| OKLCH | oklch(54.59% 0.191 301.6) |
| XYZ | xyz(23.1245, 14.4122, 58.0519) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 5.14
Blueviolet
#8A2BE2
ΔE00 5.81
Royal Purple
#7851A9
ΔE00 5.99
Bluish Purple
#703BE7
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864BCB #90CB4B
analogous
#4B50CB #864BCB #C64BCB
triadic
#864BCB #CB864B #4BCB86
tetradic
#864BCB #CB4B50 #90CB4B #4BCBC6
square
#864BCB #CB4B50 #90CB4B #4BCBC6
split-complementary
#864BCB #CBC64B #50CB4B
monochromatic
#4A2379 #6831A8 #864BCB #A67AD9 #C6AAE6
Accessibility & contrast
On white
5.41
#864BCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#864BCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864BCB
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864BCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864BCB | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#786784
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864bcb; /* rgb */ color: rgb(134, 75, 203); /* oklch */ color: oklch(54.6% 0.191 301.6);
Tailwind
colors: {
custom: {
50: '#ae80dc',
500: '#864bcb',
950: '#000000',
},
}SCSS
$custom: #864bcb; $custom-light: #ae80dc; $custom-dark: #000000;
JSON
{
"hex": "#864bcb",
"rgb": {
"r": 134,
"g": 75,
"b": 203
},
"hsl": {
"h": 267.656,
"s": 55.172,
"l": 54.51
},
"oklch": {
"l": 0.54591,
"c": 0.19099,
"h": 301.6
},
"luminance": 0.14412
}Semantic roles & 50–950 ramp
primary
#864BCB
secondary
#BBD49E
accent
#DF499A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83