#8149BA#8149BA
#8149BA is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.6% C 0.173 H 303.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #8149BA |
|---|---|
| RGB | rgb(129, 73, 186) |
| HSL | hsl(270, 45%, 51%) |
| HSV | hsv(270, 61%, 73%) |
| CMYK | cmyk(30.6%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(42.73, 45.72, -50.83) |
| CIE-LCH | lch(42.73, 68.36, 311.97°) |
| OKLab | oklab(52.59% 0.0965 -0.1439) |
| OKLCH | oklch(52.59% 0.173 303.9) |
| XYZ | xyz(20.2967, 12.9774, 47.8805) |
| Luminance | 0.1298 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.87
Purply
#983FB2
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.57
Deep Lavender
#8D5EB7
ΔE00 6.60
Bluey Purple
#6241C7
ΔE00 6.68
Blueviolet
#8A2BE2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8149BA #82BA49
analogous
#4949BA #8149BA #BA49BA
triadic
#8149BA #BA8149 #49BA81
tetradic
#8149BA #BA4949 #82BA49 #49BABA
square
#8149BA #BA4949 #82BA49 #49BABA
split-complementary
#8149BA #BABA49 #49BA49
monochromatic
#442663 #63368F #8149BA #A075CB #BEA2DC
Accessibility & contrast
On white
5.84
#8149BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8149BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8149BA
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8149BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8149BA | 1.00 | 5.84 | 3.60 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A64BE
Deuteranopia (green-blind)
#2D65B7
Tritanopia (blue-blind)
#76607A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8149ba; /* rgb */ color: rgb(129, 73, 186); /* oklch */ color: oklch(52.6% 0.173 303.9);
Tailwind
colors: {
custom: {
50: '#a97ecf',
500: '#8149ba',
950: '#000000',
},
}SCSS
$custom: #8149ba; $custom-light: #a97ecf; $custom-dark: #000000;
JSON
{
"hex": "#8149ba",
"rgb": {
"r": 129,
"g": 73,
"b": 186
},
"hsl": {
"h": 269.735,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.52588,
"c": 0.17323,
"h": 303.9
},
"luminance": 0.12977
}Semantic roles & 50–950 ramp
primary
#8149BA
secondary
#B0C896
accent
#D55394
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82