#8151C3#8151C3
#8151C3 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.172 H 300.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8151C3 |
|---|---|
| RGB | rgb(129, 81, 195) |
| HSL | hsl(265, 49%, 54%) |
| HSV | hsv(265, 58%, 76%) |
| CMYK | cmyk(33.8%, 58.5%, 0%, 23.5%) |
| CIE-LAB | lab(44.93, 43.63, -52.54) |
| CIE-LCH | lch(44.93, 68.29, 309.71°) |
| OKLab | oklab(54.38% 0.0865 -0.1489) |
| OKLCH | oklch(54.38% 0.172 300.1) |
| XYZ | xyz(21.8436, 14.4920, 53.2656) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.49
Purpley
#8756E4
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.47
Slate Blue
#6A5ACD
ΔE00 5.79
Iris
#6258C4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151C3 #93C351
analogous
#515AC3 #8151C3 #BA51C3
triadic
#8151C3 #C38151 #51C381
tetradic
#8151C3 #C3515A #93C351 #51C3BA
square
#8151C3 #C3515A #93C351 #51C3BA
split-complementary
#8151C3 #C3BA51 #5AC351
monochromatic
#472772 #6337A0 #8151C3 #A27FD3 #C3ACE2
Accessibility & contrast
On white
5.39
#8151C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8151C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151C3
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151C3 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#166AC7
Deuteranopia (green-blind)
#2E6AC0
Tritanopia (blue-blind)
#736982
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8151c3; /* rgb */ color: rgb(129, 81, 195); /* oklch */ color: oklch(54.4% 0.172 300.1);
Tailwind
colors: {
custom: {
50: '#aa84d6',
500: '#8151c3',
950: '#000000',
},
}SCSS
$custom: #8151c3; $custom-light: #aa84d6; $custom-dark: #000000;
JSON
{
"hex": "#8151c3",
"rgb": {
"r": 129,
"g": 81,
"b": 195
},
"hsl": {
"h": 265.263,
"s": 48.718,
"l": 54.118
},
"oklch": {
"l": 0.54379,
"c": 0.17217,
"h": 300.1
},
"luminance": 0.14492
}Semantic roles & 50–950 ramp
primary
#8151C3
secondary
#BCD0A0
accent
#D8509F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83