#864CC8#864CC8
#864CC8 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.186 H 302.1°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #864CC8 |
|---|---|
| RGB | rgb(134, 76, 200) |
| HSL | hsl(268, 53%, 54%) |
| HSV | hsv(268, 62%, 78%) |
| CMYK | cmyk(33%, 62%, 0%, 21.6%) |
| CIE-LAB | lab(44.81, 48.73, -55.59) |
| CIE-LCH | lch(44.81, 73.93, 311.24°) |
| OKLab | oklab(54.52% 0.099 -0.1577) |
| OKLCH | oklch(54.52% 0.186 302.1) |
| XYZ | xyz(22.8388, 14.4073, 56.2100) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 5.13
Darkorchid
#9932CC
ΔE00 5.26
Royal Purple
#7851A9
ΔE00 5.55
Blueviolet
#8A2BE2
ΔE00 6.22
Purply
#983FB2
ΔE00 6.22
Deep Lavender
#8D5EB7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864CC8 #8EC84C
analogous
#4C50C8 #864CC8 #C44CC8
triadic
#864CC8 #C8864C #4CC886
tetradic
#864CC8 #C84C50 #8EC84C #4CC8C4
square
#864CC8 #C84C50 #8EC84C #4CC8C4
split-complementary
#864CC8 #C8C44C #50C84C
monochromatic
#4A2475 #6832A4 #864CC8 #A67BD6 #C5AAE5
Accessibility & contrast
On white
5.41
#864CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#864CC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864CC8
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864CC8 | 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)
#0069CC
Deuteranopia (green-blind)
#256AC5
Tritanopia (blue-blind)
#796683
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864cc8; /* rgb */ color: rgb(134, 76, 200); /* oklch */ color: oklch(54.5% 0.186 302.1);
Tailwind
colors: {
custom: {
50: '#ae81d9',
500: '#864cc8',
950: '#000000',
},
}SCSS
$custom: #864cc8; $custom-light: #ae81d9; $custom-dark: #000000;
JSON
{
"hex": "#864cc8",
"rgb": {
"r": 134,
"g": 76,
"b": 200
},
"hsl": {
"h": 268.065,
"s": 52.991,
"l": 54.118
},
"oklch": {
"l": 0.54522,
"c": 0.18617,
"h": 302.1
},
"luminance": 0.14407
}Semantic roles & 50–950 ramp
primary
#864CC8
secondary
#BAD29E
accent
#DC4B99
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83