#864BBB#864BBB
#864BBB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.5% C 0.173 H 305.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #864BBB |
|---|---|
| RGB | rgb(134, 75, 187) |
| HSL | hsl(272, 45%, 51%) |
| HSV | hsv(272, 60%, 73%) |
| CMYK | cmyk(28.3%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(43.78, 46.09, -49.69) |
| CIE-LCH | lch(43.78, 67.78, 312.85°) |
| OKLab | oklab(53.51% 0.1006 -0.1404) |
| OKLCH | oklch(53.51% 0.173 305.6) |
| XYZ | xyz(21.3153, 13.6885, 48.5233) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.10
Purply
#983FB2
ΔE00 4.77
Darkorchid
#9932CC
ΔE00 5.33
Deep Lavender
#8D5EB7
ΔE00 5.71
Purpley
#8756E4
ΔE00 7.14
Amethyst
#9B5FC0
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864BBB #80BB4B
analogous
#4E4BBB #864BBB #BB4BB8
triadic
#864BBB #BB864B #4BBB86
tetradic
#864BBB #BB4E4B #80BB4B #4BB8BB
square
#864BBB #BB4E4B #80BB4B #4BB8BB
split-complementary
#864BBB #B8BB4B #4BBB4E
monochromatic
#472665 #673792 #864BBB #A477CC #C2A4DD
Accessibility & contrast
On white
5.62
#864BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#864BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864BBB
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864BBB | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#3468B8
Tritanopia (blue-blind)
#7D617C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #864bbb; /* rgb */ color: rgb(134, 75, 187); /* oklch */ color: oklch(53.5% 0.173 305.6);
Tailwind
colors: {
custom: {
50: '#ad80d0',
500: '#864bbb',
950: '#000000',
},
}SCSS
$custom: #864bbb; $custom-light: #ad80d0; $custom-dark: #000000;
JSON
{
"hex": "#864bbb",
"rgb": {
"r": 134,
"g": 75,
"b": 187
},
"hsl": {
"h": 271.607,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.53508,
"c": 0.1727,
"h": 305.6
},
"luminance": 0.13688
}Semantic roles & 50–950 ramp
primary
#864BBB
secondary
#B0CA98
accent
#D55390
background
#FAF8FC
surface
#F5EFF9
border
#CFCAD2
text
#110A14
muted
#807C82