#9331AB#9331AB
#9331AB is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.196 H 319.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9331AB |
|---|---|
| RGB | rgb(147, 49, 171) |
| HSL | hsl(288, 55%, 43%) |
| HSV | hsv(288, 71%, 67%) |
| CMYK | cmyk(14%, 71.3%, 0%, 32.9%) |
| CIE-LAB | lab(40.15, 57.74, -45.99) |
| CIE-LCH | lch(40.15, 73.81, 321.46°) |
| OKLab | oklab(50.94% 0.1482 -0.129) |
| OKLCH | oklch(50.94% 0.196 319) |
| XYZ | xyz(20.4806, 11.3409, 39.6304) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.11
Barney
#AC1DB8
ΔE00 4.34
Darkorchid
#9932CC
ΔE00 5.15
Medium Purple
#9E43A2
ΔE00 5.38
Warm Purple
#952E8F
ΔE00 5.42
Barney Purple
#A00498
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9331AB #49AB31
analogous
#5631AB #9331AB #AB3186
triadic
#9331AB #AB9331 #31AB93
tetradic
#9331AB #AB5631 #49AB31 #3186AB
square
#9331AB #AB5631 #49AB31 #3186AB
split-complementary
#9331AB #86AB31 #31AB56
monochromatic
#41164C #6A237B #9331AB #B34DCC #C77DDA
Accessibility & contrast
On white
6.43
#9331AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#9331AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9331AB
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9331AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9331AB | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3962A8
Tritanopia (blue-blind)
#93496B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9331ab; /* rgb */ color: rgb(147, 49, 171); /* oklch */ color: oklch(50.9% 0.196 319.0);
Tailwind
colors: {
custom: {
50: '#b672c5',
500: '#9331ab',
950: '#000000',
},
}SCSS
$custom: #9331ab; $custom-light: #b672c5; $custom-dark: #000000;
JSON
{
"hex": "#9331ab",
"rgb": {
"r": 147,
"g": 49,
"b": 171
},
"hsl": {
"h": 288.197,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50936,
"c": 0.19645,
"h": 319
},
"luminance": 0.1134
}Semantic roles & 50–950 ramp
primary
#9331AB
secondary
#85C275
accent
#DF4966
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82