#9231AA#9231AA
#9231AA is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.195 H 318.9°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #9231AA |
|---|---|
| RGB | rgb(146, 49, 170) |
| HSL | hsl(288, 55%, 43%) |
| HSV | hsv(288, 71%, 67%) |
| CMYK | cmyk(14.1%, 71.2%, 0%, 33.3%) |
| CIE-LAB | lab(39.93, 57.33, -45.75) |
| CIE-LCH | lch(39.93, 73.34, 321.41°) |
| OKLab | oklab(50.73% 0.147 -0.1283) |
| OKLCH | oklch(50.73% 0.195 318.9) |
| XYZ | xyz(20.2071, 11.2108, 39.1219) |
| Luminance | 0.1121 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.26
Barney
#AC1DB8
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 5.31
Warm Purple
#952E8F
ΔE00 5.34
Medium Purple
#9E43A2
ΔE00 5.46
Purple (survey)
#7E1E9C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9231AA #49AA31
analogous
#5531AA #9231AA #AA3185
triadic
#9231AA #AA9231 #31AA92
tetradic
#9231AA #AA5531 #49AA31 #3185AA
square
#9231AA #AA5531 #49AA31 #3185AA
split-complementary
#9231AA #85AA31 #31AA55
monochromatic
#40164B #69237A #9231AA #B24DCC #C77CD9
Accessibility & contrast
On white
6.48
#9231AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#9231AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9231AA
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9231AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9231AA | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#92486A
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #9231aa; /* rgb */ color: rgb(146, 49, 170); /* oklch */ color: oklch(50.7% 0.195 318.9);
Tailwind
colors: {
custom: {
50: '#b672c4',
500: '#9231aa',
950: '#000000',
},
}SCSS
$custom: #9231aa; $custom-light: #b672c4; $custom-dark: #000000;
JSON
{
"hex": "#9231aa",
"rgb": {
"r": 146,
"g": 49,
"b": 170
},
"hsl": {
"h": 288.099,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.50731,
"c": 0.19513,
"h": 318.9
},
"luminance": 0.1121
}Semantic roles & 50–950 ramp
primary
#9231AA
secondary
#84C275
accent
#DF4967
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82