#9038B8#9038B8
#9038B8 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.1% C 0.199 H 313.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9038B8 |
|---|---|
| RGB | rgb(144, 56, 184) |
| HSL | hsl(281, 53%, 47%) |
| HSV | hsv(281, 70%, 72%) |
| CMYK | cmyk(21.7%, 69.6%, 0%, 27.8%) |
| CIE-LAB | lab(41.56, 56.85, -51.43) |
| CIE-LCH | lch(41.56, 76.66, 317.86°) |
| OKLab | oklab(52.12% 0.136 -0.1451) |
| OKLCH | oklch(52.12% 0.199 313.2) |
| XYZ | xyz(21.5660, 12.2190, 46.5606) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.79
Darkorchid
#9932CC
ΔE00 3.07
Barney
#AC1DB8
ΔE00 5.20
Darkviolet
#9400D3
ΔE00 5.68
Blueviolet
#8A2BE2
ΔE00 6.40
Vibrant Purple
#AD03DE
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9038B8 #60B838
analogous
#5038B8 #9038B8 #B838A0
triadic
#9038B8 #B89038 #38B890
tetradic
#9038B8 #B85038 #60B838 #38A0B8
square
#9038B8 #B85038 #60B838 #38A0B8
split-complementary
#9038B8 #A0B838 #38B850
monochromatic
#471B5A #6B2A89 #9038B8 #AB5FCE #C48EDD
Accessibility & contrast
On white
6.10
#9038B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#9038B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9038B8
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9038B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9038B8 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#2E64B5
Tritanopia (blue-blind)
#8C5374
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9038b8; /* rgb */ color: rgb(144, 56, 184); /* oklch */ color: oklch(52.1% 0.199 313.2);
Tailwind
colors: {
custom: {
50: '#b476ce',
500: '#9038b8',
950: '#000000',
},
}SCSS
$custom: #9038b8; $custom-light: #b476ce; $custom-dark: #000000;
JSON
{
"hex": "#9038b8",
"rgb": {
"r": 144,
"g": 56,
"b": 184
},
"hsl": {
"h": 281.25,
"s": 53.333,
"l": 47.059
},
"oklch": {
"l": 0.52123,
"c": 0.19884,
"h": 313.2
},
"luminance": 0.12218
}Semantic roles & 50–950 ramp
primary
#9038B8
secondary
#99C785
accent
#DD4B79
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82