#9431AB#9431AB
#9431AB is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.197 H 319.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9431AB |
|---|---|
| RGB | rgb(148, 49, 171) |
| HSL | hsl(289, 55%, 43%) |
| HSV | hsv(289, 71%, 67%) |
| CMYK | cmyk(13.5%, 71.3%, 0%, 32.9%) |
| CIE-LAB | lab(40.30, 57.96, -45.74) |
| CIE-LCH | lch(40.30, 73.83, 321.72°) |
| OKLab | oklab(51.08% 0.1494 -0.1282) |
| OKLCH | oklch(51.08% 0.197 319.4) |
| XYZ | xyz(20.6608, 11.4338, 39.6388) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.02
Barney
#AC1DB8
ΔE00 4.17
Darkorchid
#9932CC
ΔE00 5.16
Medium Purple
#9E43A2
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.34
Barney Purple
#A00498
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9431AB #48AB31
analogous
#5731AB #9431AB #AB3185
triadic
#9431AB #AB9431 #31AB94
tetradic
#9431AB #AB5731 #48AB31 #3185AB
square
#9431AB #AB5731 #48AB31 #3185AB
split-complementary
#9431AB #85AB31 #31AB57
monochromatic
#42164C #6B237B #9431AB #B44DCC #C87DDA
Accessibility & contrast
On white
6.39
#9431AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#9431AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9431AB
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9431AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9431AB | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#3A62A8
Tritanopia (blue-blind)
#94486B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9431ab; /* rgb */ color: rgb(148, 49, 171); /* oklch */ color: oklch(51.1% 0.197 319.4);
Tailwind
colors: {
custom: {
50: '#b772c5',
500: '#9431ab',
950: '#000000',
},
}SCSS
$custom: #9431ab; $custom-light: #b772c5; $custom-dark: #000000;
JSON
{
"hex": "#9431ab",
"rgb": {
"r": 148,
"g": 49,
"b": 171
},
"hsl": {
"h": 288.689,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.51076,
"c": 0.19686,
"h": 319.4
},
"luminance": 0.11433
}Semantic roles & 50–950 ramp
primary
#9431AB
secondary
#84C275
accent
#DF4965
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82