#8131B2#8131B2
#8131B2 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 49.0% C 0.197 H 309.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8131B2 |
|---|---|
| RGB | rgb(129, 49, 178) |
| HSL | hsl(277, 57%, 45%) |
| HSV | hsv(277, 72%, 70%) |
| CMYK | cmyk(27.5%, 72.5%, 0%, 30.2%) |
| CIE-LAB | lab(37.98, 55.43, -53.77) |
| CIE-LCH | lch(37.98, 77.23, 315.87°) |
| OKLab | oklab(49% 0.1243 -0.1524) |
| OKLCH | oklch(49% 0.197 309.2) |
| XYZ | xyz(18.1858, 10.0784, 43.0982) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.68
Darkorchid
#9932CC
ΔE00 5.43
Darkviolet
#9400D3
ΔE00 5.45
Rebeccapurple
#663399
ΔE00 5.68
Purply
#983FB2
ΔE00 5.89
Blueviolet
#8A2BE2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8131B2 #62B231
analogous
#4031B2 #8131B2 #B231A3
triadic
#8131B2 #B28131 #31B281
tetradic
#8131B2 #B24031 #62B231 #31A3B2
square
#8131B2 #B24031 #62B231 #31A3B2
split-complementary
#8131B2 #A3B231 #31B240
monochromatic
#3B1752 #5E2482 #8131B2 #9F51CF #BA81DC
Accessibility & contrast
On white
6.96
#8131B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#8131B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8131B2
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8131B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8131B2 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#115AAF
Tritanopia (blue-blind)
#7A4E6F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #8131b2; /* rgb */ color: rgb(129, 49, 178); /* oklch */ color: oklch(49.0% 0.197 309.2);
Tailwind
colors: {
custom: {
50: '#aa70ca',
500: '#8131b2',
950: '#000000',
},
}SCSS
$custom: #8131b2; $custom-light: #aa70ca; $custom-dark: #000000;
JSON
{
"hex": "#8131b2",
"rgb": {
"r": 129,
"g": 49,
"b": 178
},
"hsl": {
"h": 277.209,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.49002,
"c": 0.19666,
"h": 309.2
},
"luminance": 0.10078
}Semantic roles & 50–950 ramp
primary
#8131B2
secondary
#96C579
accent
#E04882
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#100813
muted
#7F7B82