#9031BB#9031BB
#9031BB is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.210 H 312.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9031BB |
|---|---|
| RGB | rgb(144, 49, 187) |
| HSL | hsl(281, 58%, 46%) |
| HSV | hsv(281, 74%, 73%) |
| CMYK | cmyk(23%, 73.8%, 0%, 26.7%) |
| CIE-LAB | lab(40.76, 60.32, -54.49) |
| CIE-LCH | lch(40.76, 81.29, 317.91°) |
| OKLab | oklab(51.62% 0.1427 -0.154) |
| OKLCH | oklch(51.62% 0.21 312.8) |
| XYZ | xyz(21.5679, 11.7144, 48.1290) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.86
Purply
#983FB2
ΔE00 3.85
Darkviolet
#9400D3
ΔE00 4.52
Barney
#AC1DB8
ΔE00 5.18
Blueviolet
#8A2BE2
ΔE00 5.76
Vibrant Purple
#AD03DE
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9031BB #5CBB31
analogous
#4B31BB #9031BB #BB31A1
triadic
#9031BB #BB9031 #31BB90
tetradic
#9031BB #BB4B31 #5CBB31 #31A1BB
square
#9031BB #BB4B31 #5CBB31 #31A1BB
split-complementary
#9031BB #A1BB31 #31BB4B
monochromatic
#45185A #6B248B #9031BB #AC56D3 #C487E0
Accessibility & contrast
On white
6.28
#9031BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#9031BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9031BB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9031BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9031BB | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#2162B8
Tritanopia (blue-blind)
#8B5074
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9031bb; /* rgb */ color: rgb(144, 49, 187); /* oklch */ color: oklch(51.6% 0.210 312.8);
Tailwind
colors: {
custom: {
50: '#b572d0',
500: '#9031bb',
950: '#000000',
},
}SCSS
$custom: #9031bb; $custom-light: #b572d0; $custom-dark: #000000;
JSON
{
"hex": "#9031bb",
"rgb": {
"r": 144,
"g": 49,
"b": 187
},
"hsl": {
"h": 281.304,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.51615,
"c": 0.20993,
"h": 312.8
},
"luminance": 0.11714
}Semantic roles & 50–950 ramp
primary
#9031BB
secondary
#96C97F
accent
#E24677
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82