#864BCC#864BCC
#864BCC is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.7% C 0.192 H 301.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #864BCC |
|---|---|
| RGB | rgb(134, 75, 204) |
| HSL | hsl(267, 56%, 55%) |
| HSV | hsv(267, 63%, 80%) |
| CMYK | cmyk(34.3%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(44.89, 50.24, -57.78) |
| CIE-LCH | lch(44.89, 76.57, 311.00°) |
| OKLab | oklab(54.66% 0.0999 -0.1641) |
| OKLCH | oklch(54.66% 0.192 301.3) |
| XYZ | xyz(23.2441, 14.4600, 58.6815) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.17
Blueviolet
#8A2BE2
ΔE00 5.75
Royal Purple
#7851A9
ΔE00 6.12
Bluish Purple
#703BE7
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864BCC #91CC4B
analogous
#4B51CC #864BCC #C74BCC
triadic
#864BCC #CC864B #4BCC86
tetradic
#864BCC #CC4B51 #91CC4B #4BCCC7
square
#864BCC #CC4B51 #91CC4B #4BCCC7
split-complementary
#864BCC #CCC74B #51CC4B
monochromatic
#4B237A #6830AA #864BCC #A67BDA #C6AAE7
Accessibility & contrast
On white
5.40
#864BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#864BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864BCC
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864BCC | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#1A6AC9
Tritanopia (blue-blind)
#776785
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864bcc; /* rgb */ color: rgb(134, 75, 204); /* oklch */ color: oklch(54.7% 0.192 301.3);
Tailwind
colors: {
custom: {
50: '#ae80dc',
500: '#864bcc',
950: '#000000',
},
}SCSS
$custom: #864bcc; $custom-light: #ae80dc; $custom-dark: #000000;
JSON
{
"hex": "#864bcc",
"rgb": {
"r": 134,
"g": 75,
"b": 204
},
"hsl": {
"h": 267.442,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.54661,
"c": 0.19212,
"h": 301.3
},
"luminance": 0.1446
}Semantic roles & 50–950 ramp
primary
#864BCC
secondary
#BCD59E
accent
#DF499A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83