#8331B1#8331B1
#8331B1 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.196 H 310.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8331B1 |
|---|---|
| RGB | rgb(131, 49, 177) |
| HSL | hsl(278, 57%, 44%) |
| HSV | hsv(278, 72%, 69%) |
| CMYK | cmyk(26%, 72.3%, 0%, 30.6%) |
| CIE-LAB | lab(38.19, 55.61, -52.83) |
| CIE-LCH | lch(38.19, 76.70, 316.47°) |
| OKLab | oklab(49.19% 0.1271 -0.1495) |
| OKLCH | oklch(49.19% 0.196 310.4) |
| XYZ | xyz(18.3927, 10.1967, 42.5857) |
| Luminance | 0.1020 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.59
Darkorchid
#9932CC
ΔE00 5.27
Darkviolet
#9400D3
ΔE00 5.48
Purply
#983FB2
ΔE00 5.51
Rebeccapurple
#663399
ΔE00 5.91
Blueviolet
#8A2BE2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8331B1 #5FB131
analogous
#4331B1 #8331B1 #B1319F
triadic
#8331B1 #B18331 #31B183
tetradic
#8331B1 #B14331 #5FB131 #319FB1
square
#8331B1 #B14331 #5FB131 #319FB1
split-complementary
#8331B1 #9FB131 #31B143
monochromatic
#3C1651 #602481 #8331B1 #A151CF #BB80DC
Accessibility & contrast
On white
6.91
#8331B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#8331B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8331B1
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8331B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8331B1 | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#195BAE
Tritanopia (blue-blind)
#7D4E6E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8331b1; /* rgb */ color: rgb(131, 49, 177); /* oklch */ color: oklch(49.2% 0.196 310.4);
Tailwind
colors: {
custom: {
50: '#ab71c9',
500: '#8331b1',
950: '#000000',
},
}SCSS
$custom: #8331b1; $custom-light: #ab71c9; $custom-dark: #000000;
JSON
{
"hex": "#8331b1",
"rgb": {
"r": 131,
"g": 49,
"b": 177
},
"hsl": {
"h": 278.438,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.49188,
"c": 0.19627,
"h": 310.4
},
"luminance": 0.10196
}Semantic roles & 50–950 ramp
primary
#8331B1
secondary
#94C579
accent
#E0487F
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82