#8332B2#8332B2
#8332B2 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.4% C 0.196 H 310.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8332B2 |
|---|---|
| RGB | rgb(131, 50, 178) |
| HSL | hsl(278, 56%, 45%) |
| HSV | hsv(278, 72%, 70%) |
| CMYK | cmyk(26.4%, 71.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.41, 55.41, -53.06) |
| CIE-LCH | lch(38.41, 76.72, 316.24°) |
| OKLab | oklab(49.37% 0.126 -0.1502) |
| OKLCH | oklch(49.37% 0.196 310) |
| XYZ | xyz(18.5350, 10.3212, 43.1266) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.12
Purply
#983FB2
ΔE00 5.43
Darkviolet
#9400D3
ΔE00 5.45
Rebeccapurple
#663399
ΔE00 5.99
Blueviolet
#8A2BE2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8332B2 #61B232
analogous
#4332B2 #8332B2 #B232A1
triadic
#8332B2 #B28332 #32B283
tetradic
#8332B2 #B24332 #61B232 #32A1B2
square
#8332B2 #B24332 #61B232 #32A1B2
split-complementary
#8332B2 #A1B232 #32B243
monochromatic
#3D1752 #602582 #8332B2 #A153CF #BB82DC
Accessibility & contrast
On white
6.85
#8332B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#8332B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8332B2
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8332B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8332B2 | 1.00 | 6.85 | 3.06 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#185CAF
Tritanopia (blue-blind)
#7C4F6F
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #8332b2; /* rgb */ color: rgb(131, 50, 178); /* oklch */ color: oklch(49.4% 0.196 310.0);
Tailwind
colors: {
custom: {
50: '#ab71ca',
500: '#8332b2',
950: '#000000',
},
}SCSS
$custom: #8332b2; $custom-light: #ab71ca; $custom-dark: #000000;
JSON
{
"hex": "#8332b2",
"rgb": {
"r": 131,
"g": 50,
"b": 178
},
"hsl": {
"h": 277.969,
"s": 56.14,
"l": 44.706
},
"oklch": {
"l": 0.49367,
"c": 0.19608,
"h": 310
},
"luminance": 0.10321
}Semantic roles & 50–950 ramp
primary
#8332B2
secondary
#96C57B
accent
#DF4880
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82