#864CAF#864CAF
#864CAF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.157 H 309.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #864CAF |
|---|---|
| RGB | rgb(134, 76, 175) |
| HSL | hsl(275, 39%, 49%) |
| HSV | hsv(275, 57%, 69%) |
| CMYK | cmyk(23.4%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(43.26, 42.72, -43.49) |
| CIE-LCH | lch(43.26, 60.96, 314.49°) |
| OKLab | oklab(52.89% 0.0991 -0.1222) |
| OKLCH | oklch(52.89% 0.157 309.1) |
| XYZ | xyz(20.1523, 13.3327, 42.0610) |
| Luminance | 0.1333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.27
Purply
#983FB2
ΔE00 4.20
Deep Lavender
#8D5EB7
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 6.45
Darkorchid
#9932CC
ΔE00 6.47
Amethyst
#9B5FC0
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864CAF #75AF4C
analogous
#554CAF #864CAF #AF4CA7
triadic
#864CAF #AF864C #4CAF86
tetradic
#864CAF #AF554C #75AF4C #4CA7AF
square
#864CAF #AF554C #75AF4C #4CA7AF
split-complementary
#864CAF #A7AF4C #4CAF55
monochromatic
#45275A #653984 #864CAF #A375C3 #BFA0D6
Accessibility & contrast
On white
5.73
#864CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#864CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864CAF
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864CAF | 1.00 | 5.73 | 3.67 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#805E76
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #864caf; /* rgb */ color: rgb(134, 76, 175); /* oklch */ color: oklch(52.9% 0.157 309.1);
Tailwind
colors: {
custom: {
50: '#ac80c7',
500: '#864caf',
950: '#000000',
},
}SCSS
$custom: #864caf; $custom-light: #ac80c7; $custom-dark: #000000;
JSON
{
"hex": "#864caf",
"rgb": {
"r": 134,
"g": 76,
"b": 175
},
"hsl": {
"h": 275.152,
"s": 39.442,
"l": 49.216
},
"oklch": {
"l": 0.52893,
"c": 0.15734,
"h": 309.1
},
"luminance": 0.13332
}Semantic roles & 50–950 ramp
primary
#864CAF
secondary
#A7C294
accent
#CF588A
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100A13
muted
#7F7C82