#9038B9#9038B9
#9038B9 is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.200 H 312.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #9038B9 |
|---|---|
| RGB | rgb(144, 56, 185) |
| HSL | hsl(281, 54%, 47%) |
| HSV | hsv(281, 70%, 73%) |
| CMYK | cmyk(22.2%, 69.7%, 0%, 27.5%) |
| CIE-LAB | lab(41.63, 57.06, -51.91) |
| CIE-LCH | lch(41.63, 77.14, 317.70°) |
| OKLab | oklab(52.19% 0.1359 -0.1465) |
| OKLCH | oklch(52.19% 0.2 312.9) |
| XYZ | xyz(21.6712, 12.2611, 47.1146) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.88
Darkorchid
#9932CC
ΔE00 2.93
Barney
#AC1DB8
ΔE00 5.25
Darkviolet
#9400D3
ΔE00 5.58
Blueviolet
#8A2BE2
ΔE00 6.25
Vibrant Purple
#AD03DE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9038B9 #61B938
analogous
#4F38B9 #9038B9 #B938A2
triadic
#9038B9 #B99038 #38B990
tetradic
#9038B9 #B94F38 #61B938 #38A2B9
square
#9038B9 #B94F38 #61B938 #38A2B9
split-complementary
#9038B9 #A2B938 #38B94F
monochromatic
#471C5B #6B2A8A #9038B9 #AB5FCF #C48EDD
Accessibility & contrast
On white
6.08
#9038B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#9038B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9038B9
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9038B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9038B9 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#8C5374
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9038b9; /* rgb */ color: rgb(144, 56, 185); /* oklch */ color: oklch(52.2% 0.200 312.9);
Tailwind
colors: {
custom: {
50: '#b476cf',
500: '#9038b9',
950: '#000000',
},
}SCSS
$custom: #9038b9; $custom-light: #b476cf; $custom-dark: #000000;
JSON
{
"hex": "#9038b9",
"rgb": {
"r": 144,
"g": 56,
"b": 185
},
"hsl": {
"h": 280.93,
"s": 53.527,
"l": 47.255
},
"oklch": {
"l": 0.52191,
"c": 0.19981,
"h": 312.9
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#9038B9
secondary
#9AC885
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82