#8151AC#8151AC
#8151AC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 52.9% C 0.144 H 306.5°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #8151AC |
|---|---|
| RGB | rgb(129, 81, 172) |
| HSL | hsl(272, 36%, 50%) |
| HSV | hsv(272, 53%, 67%) |
| CMYK | cmyk(25%, 52.9%, 0%, 32.5%) |
| CIE-LAB | lab(43.55, 37.91, -41.29) |
| CIE-LCH | lch(43.55, 56.05, 312.55°) |
| OKLab | oklab(52.92% 0.0857 -0.1159) |
| OKLCH | oklch(52.92% 0.144 306.5) |
| XYZ | xyz(19.4405, 13.5307, 40.6093) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.93
Deep Lavender
#8D5EB7
ΔE00 4.66
Purply
#983FB2
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 7.14
Medium Purple
#9E43A2
ΔE00 7.50
Darkorchid
#9932CC
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151AC #7CAC51
analogous
#5451AC #8151AC #AC51AA
triadic
#8151AC #AC8151 #51AC81
tetradic
#8151AC #AC5451 #7CAC51 #51AAAC
square
#8151AC #AC5451 #7CAC51 #51AAAC
split-complementary
#8151AC #AAAC51 #51AC54
monochromatic
#432A59 #623D82 #8151AC #9F7AC0 #BDA3D4
Accessibility & contrast
On white
5.67
#8151AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#8151AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151AC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151AC | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3565AF
Deuteranopia (green-blind)
#4467AA
Tritanopia (blue-blind)
#7A6177
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8151ac; /* rgb */ color: rgb(129, 81, 172); /* oklch */ color: oklch(52.9% 0.144 306.5);
Tailwind
colors: {
custom: {
50: '#a883c5',
500: '#8151ac',
950: '#000000',
},
}SCSS
$custom: #8151ac; $custom-light: #a883c5; $custom-dark: #000000;
JSON
{
"hex": "#8151ac",
"rgb": {
"r": 129,
"g": 81,
"b": 172
},
"hsl": {
"h": 271.648,
"s": 35.968,
"l": 49.608
},
"oklch": {
"l": 0.52921,
"c": 0.14416,
"h": 306.5
},
"luminance": 0.13531
}Semantic roles & 50–950 ramp
primary
#8151AC
secondary
#ABC198
accent
#CC5C91
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82