#9039B2#9039B2
#9039B2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.8% C 0.192 H 314.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9039B2 |
|---|---|
| RGB | rgb(144, 57, 178) |
| HSL | hsl(283, 51%, 46%) |
| HSV | hsv(283, 68%, 70%) |
| CMYK | cmyk(19.1%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(41.33, 55.16, -48.27) |
| CIE-LCH | lch(41.33, 73.30, 318.81°) |
| OKLab | oklab(51.83% 0.1354 -0.1358) |
| OKLCH | oklch(51.83% 0.192 314.9) |
| XYZ | xyz(20.9993, 12.0706, 43.3345) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.27
Darkorchid
#9932CC
ΔE00 3.96
Barney
#AC1DB8
ΔE00 5.05
Medium Purple
#9E43A2
ΔE00 5.68
Darkviolet
#9400D3
ΔE00 6.44
Purple (survey)
#7E1E9C
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9039B2 #5BB239
analogous
#5339B2 #9039B2 #B23997
triadic
#9039B2 #B29039 #39B290
tetradic
#9039B2 #B25339 #5BB239 #3997B2
square
#9039B2 #B25339 #5BB239 #3997B2
split-complementary
#9039B2 #97B239 #39B253
monochromatic
#451B55 #6A2A84 #9039B2 #AC5DCB #C48BDA
Accessibility & contrast
On white
6.15
#9039B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#9039B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9039B2
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9039B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9039B2 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3564AF
Tritanopia (blue-blind)
#8D5171
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9039b2; /* rgb */ color: rgb(144, 57, 178); /* oklch */ color: oklch(51.8% 0.192 314.9);
Tailwind
colors: {
custom: {
50: '#b476ca',
500: '#9039b2',
950: '#000000',
},
}SCSS
$custom: #9039b2; $custom-light: #b476ca; $custom-dark: #000000;
JSON
{
"hex": "#9039b2",
"rgb": {
"r": 144,
"g": 57,
"b": 178
},
"hsl": {
"h": 283.14,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.51831,
"c": 0.19176,
"h": 314.9
},
"luminance": 0.1207
}Semantic roles & 50–950 ramp
primary
#9039B2
secondary
#95C482
accent
#DB4D75
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82