#8154D3#8154D3
#8154D3 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.187 H 296.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8154D3 |
|---|---|
| RGB | rgb(129, 84, 211) |
| HSL | hsl(261, 59%, 58%) |
| HSV | hsv(261, 60%, 83%) |
| CMYK | cmyk(38.9%, 60.2%, 0%, 17.3%) |
| CIE-LAB | lab(46.59, 46.14, -59.08) |
| CIE-LCH | lch(46.59, 74.96, 307.99°) |
| OKLab | oklab(55.93% 0.0825 -0.1681) |
| OKLCH | oklch(55.93% 0.187 296.1) |
| XYZ | xyz(23.9784, 15.7105, 63.3845) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.74
Light Indigo
#6D5ACF
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.74
Dark Periwinkle
#665FD1
ΔE00 6.20
Iris
#6258C4
ΔE00 6.27
Deep Lavender
#8D5EB7
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8154D3 #A6D354
analogous
#5466D3 #8154D3 #C154D3
triadic
#8154D3 #D38154 #54D381
tetradic
#8154D3 #D35466 #A6D354 #54D3C1
square
#8154D3 #D35466 #A6D354 #54D3C1
split-complementary
#8154D3 #D3C154 #66D354
monochromatic
#472389 #6130BA #8154D3 #A585E0 #C9B5EC
Accessibility & contrast
On white
5.07
#8154D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8154D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8154D3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8154D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8154D3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#6D708C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8154d3; /* rgb */ color: rgb(129, 84, 211); /* oklch */ color: oklch(55.9% 0.187 296.1);
Tailwind
colors: {
custom: {
50: '#ab86e1',
500: '#8154d3',
950: '#000000',
},
}SCSS
$custom: #8154d3; $custom-light: #ab86e1; $custom-dark: #000000;
JSON
{
"hex": "#8154d3",
"rgb": {
"r": 129,
"g": 84,
"b": 211
},
"hsl": {
"h": 261.26,
"s": 59.07,
"l": 57.843
},
"oklch": {
"l": 0.55925,
"c": 0.18724,
"h": 296.1
},
"luminance": 0.15711
}Semantic roles & 50–950 ramp
primary
#8154D3
secondary
#C9DBA8
accent
#E246AB
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83