#864FC8#864FC8
#864FC8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.0% C 0.182 H 301.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #864FC8 |
|---|---|
| RGB | rgb(134, 79, 200) |
| HSL | hsl(267, 52%, 55%) |
| HSV | hsv(267, 61%, 78%) |
| CMYK | cmyk(33%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(45.40, 47.15, -54.64) |
| CIE-LCH | lch(45.40, 72.17, 310.79°) |
| OKLab | oklab(54.95% 0.0954 -0.1549) |
| OKLCH | oklch(54.95% 0.182 301.6) |
| XYZ | xyz(23.0504, 14.8303, 56.2806) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.75
Royal Purple
#7851A9
ΔE00 5.45
Deep Lavender
#8D5EB7
ΔE00 5.71
Darkorchid
#9932CC
ΔE00 5.86
Light Indigo
#6D5ACF
ΔE00 6.06
Slate Blue
#6A5ACD
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864FC8 #91C84F
analogous
#4F54C8 #864FC8 #C34FC8
triadic
#864FC8 #C8864F #4FC886
tetradic
#864FC8 #C84F54 #91C84F #4FC8C3
square
#864FC8 #C84F54 #91C84F #4FC8C3
split-complementary
#864FC8 #C8C34F #54C84F
monochromatic
#4B2577 #6834A6 #864FC8 #A67ED7 #C6ACE5
Accessibility & contrast
On white
5.30
#864FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#864FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864FC8
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864FC8 | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016BCC
Deuteranopia (green-blind)
#2A6BC5
Tritanopia (blue-blind)
#796884
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #864fc8; /* rgb */ color: rgb(134, 79, 200); /* oklch */ color: oklch(55.0% 0.182 301.6);
Tailwind
colors: {
custom: {
50: '#ad83d9',
500: '#864fc8',
950: '#000000',
},
}SCSS
$custom: #864fc8; $custom-light: #ad83d9; $custom-dark: #000000;
JSON
{
"hex": "#864fc8",
"rgb": {
"r": 134,
"g": 79,
"b": 200
},
"hsl": {
"h": 267.273,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.54951,
"c": 0.18192,
"h": 301.6
},
"luminance": 0.1483
}Semantic roles & 50–950 ramp
primary
#864FC8
secondary
#BCD3A0
accent
#DC4C9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83