#864ABA#864ABA
#864ABA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.173 H 306.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #864ABA |
|---|---|
| RGB | rgb(134, 74, 186) |
| HSL | hsl(272, 45%, 51%) |
| HSV | hsv(272, 60%, 73%) |
| CMYK | cmyk(28%, 60.2%, 0%, 27.1%) |
| CIE-LAB | lab(43.52, 46.38, -49.52) |
| CIE-LCH | lch(43.52, 67.85, 313.12°) |
| OKLab | oklab(53.3% 0.1019 -0.1399) |
| OKLCH | oklch(53.3% 0.173 306.1) |
| XYZ | xyz(21.1413, 13.5112, 47.9390) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.11
Purply
#983FB2
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 5.21
Deep Lavender
#8D5EB7
ΔE00 5.91
Blueviolet
#8A2BE2
ΔE00 7.25
Purpley
#8756E4
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ABA #7EBA4A
analogous
#4E4ABA #864ABA #BA4AB6
triadic
#864ABA #BA864A #4ABA86
tetradic
#864ABA #BA4E4A #7EBA4A #4AB6BA
square
#864ABA #BA4E4A #7EBA4A #4AB6BA
split-complementary
#864ABA #B6BA4A #4ABA4E
monochromatic
#472664 #673790 #864ABA #A476CB #C1A3DC
Accessibility & contrast
On white
5.67
#864ABA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#864ABA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ABA
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ABA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ABA | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1665BE
Deuteranopia (green-blind)
#3467B7
Tritanopia (blue-blind)
#7D607B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #864aba; /* rgb */ color: rgb(134, 74, 186); /* oklch */ color: oklch(53.3% 0.173 306.1);
Tailwind
colors: {
custom: {
50: '#ad7fcf',
500: '#864aba',
950: '#000000',
},
}SCSS
$custom: #864aba; $custom-light: #ad7fcf; $custom-dark: #000000;
JSON
{
"hex": "#864aba",
"rgb": {
"r": 134,
"g": 74,
"b": 186
},
"hsl": {
"h": 272.143,
"s": 44.8,
"l": 50.98
},
"oklch": {
"l": 0.53299,
"c": 0.17303,
"h": 306.1
},
"luminance": 0.13511
}Semantic roles & 50–950 ramp
primary
#864ABA
secondary
#AEC997
accent
#D5538F
background
#FAF7FC
surface
#F5EEF9
border
#CFC9D2
text
#110A14
muted
#807C82