#8148C2#8148C2
#8148C2 is a mid, vivid violet. Relative luminance 0.132; OKLCH L 53.0% C 0.184 H 302.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8148C2 |
|---|---|
| RGB | rgb(129, 72, 194) |
| HSL | hsl(268, 50%, 52%) |
| HSV | hsv(268, 63%, 76%) |
| CMYK | cmyk(33.5%, 62.9%, 0%, 23.9%) |
| CIE-LAB | lab(43.06, 48.22, -54.97) |
| CIE-LCH | lch(43.06, 73.12, 311.26°) |
| OKLab | oklab(53% 0.0973 -0.156) |
| OKLCH | oklch(53% 0.184 302) |
| XYZ | xyz(21.1059, 13.1968, 52.4638) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.93
Darkorchid
#9932CC
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.95
Purply
#983FB2
ΔE00 6.03
Bluey Purple
#6241C7
ΔE00 6.04
Bluish Purple
#703BE7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148C2 #89C248
analogous
#484CC2 #8148C2 #BE48C2
triadic
#8148C2 #C28148 #48C281
tetradic
#8148C2 #C2484C #89C248 #48C2BE
square
#8148C2 #C2484C #89C248 #48C2BE
split-complementary
#8148C2 #C2BE48 #4CC248
monochromatic
#45246C #63339A #8148C2 #A176D1 #C0A4E1
Accessibility & contrast
On white
5.77
#8148C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#8148C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148C2
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148C2 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#74627E
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #8148c2; /* rgb */ color: rgb(129, 72, 194); /* oklch */ color: oklch(53.0% 0.184 302.0);
Tailwind
colors: {
custom: {
50: '#aa7ed5',
500: '#8148c2',
950: '#000000',
},
}SCSS
$custom: #8148c2; $custom-light: #aa7ed5; $custom-dark: #000000;
JSON
{
"hex": "#8148c2",
"rgb": {
"r": 129,
"g": 72,
"b": 194
},
"hsl": {
"h": 268.033,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.52995,
"c": 0.18388,
"h": 302
},
"luminance": 0.13197
}Semantic roles & 50–950 ramp
primary
#8148C2
secondary
#B5CE98
accent
#DA4E98
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83