#8151B3#8151B3
#8151B3 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.153 H 304.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8151B3 |
|---|---|
| RGB | rgb(129, 81, 179) |
| HSL | hsl(269, 39%, 51%) |
| HSV | hsv(269, 55%, 70%) |
| CMYK | cmyk(27.9%, 54.7%, 0%, 29.8%) |
| CIE-LAB | lab(43.95, 39.62, -44.77) |
| CIE-LCH | lch(43.95, 59.78, 311.51°) |
| OKLab | oklab(53.35% 0.0861 -0.1261) |
| OKLCH | oklch(53.35% 0.153 304.3) |
| XYZ | xyz(20.1306, 13.8067, 44.2435) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.28
Deep Lavender
#8D5EB7
ΔE00 4.59
Purply
#983FB2
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.95
Light Indigo
#6D5ACF
ΔE00 7.35
Darkorchid
#9932CC
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8151B3 #83B351
analogous
#5152B3 #8151B3 #B251B3
triadic
#8151B3 #B38151 #51B381
tetradic
#8151B3 #B35152 #83B351 #51B3B2
square
#8151B3 #B35152 #83B351 #51B3B2
split-complementary
#8151B3 #B3B251 #52B351
monochromatic
#442A60 #633C8A #8151B3 #A07CC6 #BFA6D8
Accessibility & contrast
On white
5.58
#8151B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#8151B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8151B3
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8151B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8151B3 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E67B6
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#78637A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8151b3; /* rgb */ color: rgb(129, 81, 179); /* oklch */ color: oklch(53.3% 0.153 304.3);
Tailwind
colors: {
custom: {
50: '#a883ca',
500: '#8151b3',
950: '#000000',
},
}SCSS
$custom: #8151b3; $custom-light: #a883ca; $custom-dark: #000000;
JSON
{
"hex": "#8151b3",
"rgb": {
"r": 129,
"g": 81,
"b": 179
},
"hsl": {
"h": 269.388,
"s": 39.2,
"l": 50.98
},
"oklch": {
"l": 0.53348,
"c": 0.15271,
"h": 304.3
},
"luminance": 0.13807
}Semantic roles & 50–950 ramp
primary
#8151B3
secondary
#B0C69A
accent
#CF5995
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82