#8148BE#8148BE
#8148BE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.7% C 0.179 H 303.0°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8148BE |
|---|---|
| RGB | rgb(129, 72, 190) |
| HSL | hsl(269, 48%, 51%) |
| HSV | hsv(269, 62%, 75%) |
| CMYK | cmyk(32.1%, 62.1%, 0%, 25.5%) |
| CIE-LAB | lab(42.79, 47.23, -53.07) |
| CIE-LCH | lch(42.79, 71.04, 311.67°) |
| OKLab | oklab(52.72% 0.0976 -0.1504) |
| OKLCH | oklch(52.72% 0.179 303) |
| XYZ | xyz(20.6628, 13.0196, 50.1297) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.46
Darkorchid
#9932CC
ΔE00 5.27
Purply
#983FB2
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 6.28
Blueviolet
#8A2BE2
ΔE00 6.37
Deep Lavender
#8D5EB7
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148BE #85BE48
analogous
#484ABE #8148BE #BC48BE
triadic
#8148BE #BE8148 #48BE81
tetradic
#8148BE #BE484A #85BE48 #48BEBC
square
#8148BE #BE484A #85BE48 #48BEBC
split-complementary
#8148BE #BEBC48 #4ABE48
monochromatic
#452567 #633594 #8148BE #A075CE #BFA2DE
Accessibility & contrast
On white
5.83
#8148BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8148BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148BE
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148BE | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#2665BB
Tritanopia (blue-blind)
#75617C
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8148be; /* rgb */ color: rgb(129, 72, 190); /* oklch */ color: oklch(52.7% 0.179 303.0);
Tailwind
colors: {
custom: {
50: '#aa7ed2',
500: '#8148be',
950: '#000000',
},
}SCSS
$custom: #8148be; $custom-light: #aa7ed2; $custom-dark: #000000;
JSON
{
"hex": "#8148be",
"rgb": {
"r": 129,
"g": 72,
"b": 190
},
"hsl": {
"h": 268.983,
"s": 47.581,
"l": 51.373
},
"oklch": {
"l": 0.52717,
"c": 0.17928,
"h": 303
},
"luminance": 0.1302
}Semantic roles & 50–950 ramp
primary
#8148BE
secondary
#B2CB97
accent
#D75196
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83