#864DC7#864DC7
#864DC7 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.6% C 0.184 H 302.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #864DC7 |
|---|---|
| RGB | rgb(134, 77, 199) |
| HSL | hsl(268, 52%, 54%) |
| HSV | hsv(268, 61%, 78%) |
| CMYK | cmyk(32.7%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(44.94, 47.96, -54.81) |
| CIE-LCH | lch(44.94, 72.83, 311.19°) |
| OKLab | oklab(54.6% 0.0978 -0.1554) |
| OKLCH | oklch(54.6% 0.184 302.2) |
| XYZ | xyz(22.7918, 14.4996, 55.6197) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 5.14
Royal Purple
#7851A9
ΔE00 5.38
Darkorchid
#9932CC
ΔE00 5.45
Deep Lavender
#8D5EB7
ΔE00 6.00
Purply
#983FB2
ΔE00 6.22
Light Indigo
#6D5ACF
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864DC7 #8EC74D
analogous
#4D51C7 #864DC7 #C34DC7
triadic
#864DC7 #C7864D #4DC786
tetradic
#864DC7 #C74D51 #8EC74D #4DC7C3
square
#864DC7 #C74D51 #8EC74D #4DC7C3
split-complementary
#864DC7 #C7C34D #51C74D
monochromatic
#4A2575 #6833A3 #864DC7 #A67CD6 #C5AAE4
Accessibility & contrast
On white
5.38
#864DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#864DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864DC7
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864DC7 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#796783
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #864dc7; /* rgb */ color: rgb(134, 77, 199); /* oklch */ color: oklch(54.6% 0.184 302.2);
Tailwind
colors: {
custom: {
50: '#ad82d9',
500: '#864dc7',
950: '#000000',
},
}SCSS
$custom: #864dc7; $custom-light: #ad82d9; $custom-dark: #000000;
JSON
{
"hex": "#864dc7",
"rgb": {
"r": 134,
"g": 77,
"b": 199
},
"hsl": {
"h": 268.033,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.54596,
"c": 0.18361,
"h": 302.2
},
"luminance": 0.145
}Semantic roles & 50–950 ramp
primary
#864DC7
secondary
#BAD29E
accent
#DC4C99
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83