#8148C8#8148C8
#8148C8 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.191 H 300.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8148C8 |
|---|---|
| RGB | rgb(129, 72, 200) |
| HSL | hsl(267, 54%, 53%) |
| HSV | hsv(267, 64%, 78%) |
| CMYK | cmyk(35.5%, 64%, 0%, 21.6%) |
| CIE-LAB | lab(43.47, 49.71, -57.79) |
| CIE-LCH | lch(43.47, 76.23, 310.70°) |
| OKLab | oklab(53.42% 0.0969 -0.1643) |
| OKLCH | oklch(53.42% 0.191 300.5) |
| XYZ | xyz(21.7934, 13.4718, 56.0845) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 5.19
Blueviolet
#8A2BE2
ΔE00 5.42
Royal Purple
#7851A9
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 5.72
Purpley
#8756E4
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8148C8 #8FC848
analogous
#484FC8 #8148C8 #C148C8
triadic
#8148C8 #C88148 #48C881
tetradic
#8148C8 #C8484F #8FC848 #48C8C1
square
#8148C8 #C8484F #8FC848 #48C8C1
split-complementary
#8148C8 #C8C148 #4FC848
monochromatic
#462373 #6331A2 #8148C8 #A177D6 #C2A6E4
Accessibility & contrast
On white
5.68
#8148C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#8148C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8148C8
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8148C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8148C8 | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#726481
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8148c8; /* rgb */ color: rgb(129, 72, 200); /* oklch */ color: oklch(53.4% 0.191 300.5);
Tailwind
colors: {
custom: {
50: '#aa7ed9',
500: '#8148c8',
950: '#000000',
},
}SCSS
$custom: #8148c8; $custom-light: #aa7ed9; $custom-dark: #000000;
JSON
{
"hex": "#8148c8",
"rgb": {
"r": 129,
"g": 72,
"b": 200
},
"hsl": {
"h": 266.719,
"s": 53.782,
"l": 53.333
},
"oklch": {
"l": 0.53419,
"c": 0.19076,
"h": 300.5
},
"luminance": 0.13472
}Semantic roles & 50–950 ramp
primary
#8148C8
secondary
#B9D19A
accent
#DD4B9C
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83