#8147C1#8147C1
#8147C1 is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.184 H 302.4°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #8147C1 |
|---|---|
| RGB | rgb(129, 71, 193) |
| HSL | hsl(269, 50%, 52%) |
| HSV | hsv(269, 63%, 76%) |
| CMYK | cmyk(33.2%, 63.2%, 0%, 24.3%) |
| CIE-LAB | lab(42.80, 48.49, -54.81) |
| CIE-LCH | lch(42.80, 73.18, 311.50°) |
| OKLab | oklab(52.79% 0.0986 -0.1555) |
| OKLCH | oklch(52.79% 0.184 302.4) |
| XYZ | xyz(20.9299, 13.0238, 51.8529) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.93
Darkorchid
#9932CC
ΔE00 5.06
Purply
#983FB2
ΔE00 5.88
Blueviolet
#8A2BE2
ΔE00 5.90
Bluey Purple
#6241C7
ΔE00 6.01
Bluish Purple
#703BE7
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8147C1 #87C147
analogous
#474AC1 #8147C1 #BE47C1
triadic
#8147C1 #C18147 #47C181
tetradic
#8147C1 #C1474A #87C147 #47C1BE
square
#8147C1 #C1474A #87C147 #47C1BE
split-complementary
#8147C1 #C1BE47 #4AC147
monochromatic
#45246A #633398 #8147C1 #A075D0 #C0A3E0
Accessibility & contrast
On white
5.83
#8147C1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#8147C1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8147C1
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8147C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8147C1 | 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)
#0064C5
Deuteranopia (green-blind)
#1E65BE
Tritanopia (blue-blind)
#74617D
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #8147c1; /* rgb */ color: rgb(129, 71, 193); /* oklch */ color: oklch(52.8% 0.184 302.4);
Tailwind
colors: {
custom: {
50: '#aa7dd4',
500: '#8147c1',
950: '#000000',
},
}SCSS
$custom: #8147c1; $custom-light: #aa7dd4; $custom-dark: #000000;
JSON
{
"hex": "#8147c1",
"rgb": {
"r": 129,
"g": 71,
"b": 193
},
"hsl": {
"h": 268.525,
"s": 49.593,
"l": 51.765
},
"oklch": {
"l": 0.52786,
"c": 0.18413,
"h": 302.4
},
"luminance": 0.13024
}Semantic roles & 50–950 ramp
primary
#8147C1
secondary
#B3CD97
accent
#D94F97
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83