#864BB2#864BB2
#864BB2 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.162 H 308.3°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #864BB2 |
|---|---|
| RGB | rgb(134, 75, 178) |
| HSL | hsl(274, 41%, 50%) |
| HSV | hsv(274, 58%, 70%) |
| CMYK | cmyk(24.7%, 57.9%, 0%, 30.2%) |
| CIE-LAB | lab(43.23, 43.96, -45.29) |
| CIE-LCH | lch(43.23, 63.12, 314.14°) |
| OKLab | oklab(52.93% 0.1006 -0.1275) |
| OKLCH | oklch(52.93% 0.162 308.3) |
| XYZ | xyz(20.3819, 13.3151, 43.6072) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.46
Purply
#983FB2
ΔE00 4.16
Deep Lavender
#8D5EB7
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 6.00
Medium Purple
#9E43A2
ΔE00 6.75
Amethyst
#9B5FC0
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864BB2 #77B24B
analogous
#534BB2 #864BB2 #B24BAA
triadic
#864BB2 #B2864B #4BB286
tetradic
#864BB2 #B2534B #77B24B #4BAAB2
square
#864BB2 #B2534B #77B24B #4BAAB2
split-complementary
#864BB2 #AAB24B #4BB253
monochromatic
#45275C #663987 #864BB2 #A375C5 #C0A0D7
Accessibility & contrast
On white
5.73
#864BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#864BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864BB2
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864BB2 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2664B5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#805E77
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #864bb2; /* rgb */ color: rgb(134, 75, 178); /* oklch */ color: oklch(52.9% 0.162 308.3);
Tailwind
colors: {
custom: {
50: '#ac80c9',
500: '#864bb2',
950: '#000000',
},
}SCSS
$custom: #864bb2; $custom-light: #ac80c9; $custom-dark: #000000;
JSON
{
"hex": "#864bb2",
"rgb": {
"r": 134,
"g": 75,
"b": 178
},
"hsl": {
"h": 274.369,
"s": 40.711,
"l": 49.608
},
"oklch": {
"l": 0.52931,
"c": 0.16236,
"h": 308.3
},
"luminance": 0.13315
}Semantic roles & 50–950 ramp
primary
#864BB2
secondary
#A9C495
accent
#D1578B
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82