#8331B0#8331B0
#8331B0 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.1% C 0.195 H 310.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8331B0 |
|---|---|
| RGB | rgb(131, 49, 176) |
| HSL | hsl(279, 56%, 44%) |
| HSV | hsv(279, 72%, 69%) |
| CMYK | cmyk(25.6%, 72.2%, 0%, 31%) |
| CIE-LAB | lab(38.12, 55.40, -52.35) |
| CIE-LCH | lch(38.12, 76.22, 316.62°) |
| OKLab | oklab(49.12% 0.1273 -0.1481) |
| OKLCH | oklch(49.12% 0.195 310.7) |
| XYZ | xyz(18.2934, 10.1569, 42.0627) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.47
Darkorchid
#9932CC
ΔE00 5.37
Purply
#983FB2
ΔE00 5.49
Darkviolet
#9400D3
ΔE00 5.60
Rebeccapurple
#663399
ΔE00 5.85
Blueviolet
#8A2BE2
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8331B0 #5EB031
analogous
#4431B0 #8331B0 #B0319E
triadic
#8331B0 #B08331 #31B083
tetradic
#8331B0 #B04431 #5EB031 #319EB0
square
#8331B0 #B04431 #5EB031 #319EB0
split-complementary
#8331B0 #9EB031 #31B044
monochromatic
#3C1650 #5F2480 #8331B0 #A250CE #BB80DC
Accessibility & contrast
On white
6.93
#8331B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#8331B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8331B0
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8331B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8331B0 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B4
Deuteranopia (green-blind)
#1B5BAD
Tritanopia (blue-blind)
#7D4D6D
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8331b0; /* rgb */ color: rgb(131, 49, 176); /* oklch */ color: oklch(49.1% 0.195 310.7);
Tailwind
colors: {
custom: {
50: '#ab71c8',
500: '#8331b0',
950: '#000000',
},
}SCSS
$custom: #8331b0; $custom-light: #ab71c8; $custom-dark: #000000;
JSON
{
"hex": "#8331b0",
"rgb": {
"r": 131,
"g": 49,
"b": 176
},
"hsl": {
"h": 278.74,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.49116,
"c": 0.19529,
"h": 310.7
},
"luminance": 0.10157
}Semantic roles & 50–950 ramp
primary
#8331B0
secondary
#93C578
accent
#E0487E
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82