#864ABE#864ABE
#864ABE is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.6% C 0.178 H 305.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #864ABE |
|---|---|
| RGB | rgb(134, 74, 190) |
| HSL | hsl(271, 47%, 52%) |
| HSV | hsv(271, 61%, 75%) |
| CMYK | cmyk(29.5%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(43.78, 47.34, -51.45) |
| CIE-LCH | lch(43.78, 69.92, 312.61°) |
| OKLab | oklab(53.56% 0.1018 -0.1455) |
| OKLCH | oklch(53.56% 0.178 305) |
| XYZ | xyz(21.5725, 13.6837, 50.2100) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.50
Purply
#983FB2
ΔE00 4.96
Darkorchid
#9932CC
ΔE00 5.02
Deep Lavender
#8D5EB7
ΔE00 6.06
Blueviolet
#8A2BE2
ΔE00 6.78
Purpley
#8756E4
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#864ABE #82BE4A
analogous
#4C4ABE #864ABE #BE4ABC
triadic
#864ABE #BE864A #4ABE86
tetradic
#864ABE #BE4C4A #82BE4A #4ABCBE
square
#864ABE #BE4C4A #82BE4A #4ABCBE
split-complementary
#864ABE #BCBE4A #4ABE4C
monochromatic
#482568 #673695 #864ABE #A477CE #C2A4DE
Accessibility & contrast
On white
5.62
#864ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#864ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #864ABE
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##864ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##864ABE | 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)
#0A66C2
Deuteranopia (green-blind)
#3068BB
Tritanopia (blue-blind)
#7C627D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #864abe; /* rgb */ color: rgb(134, 74, 190); /* oklch */ color: oklch(53.6% 0.178 305.0);
Tailwind
colors: {
custom: {
50: '#ad7fd2',
500: '#864abe',
950: '#000000',
},
}SCSS
$custom: #864abe; $custom-light: #ad7fd2; $custom-dark: #000000;
JSON
{
"hex": "#864abe",
"rgb": {
"r": 134,
"g": 74,
"b": 190
},
"hsl": {
"h": 271.034,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.53563,
"c": 0.17758,
"h": 305
},
"luminance": 0.13684
}Semantic roles & 50–950 ramp
primary
#864ABE
secondary
#B1CB98
accent
#D75192
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83