#9038B2#9038B2
#9038B2 is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.7% C 0.193 H 315.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9038B2 |
|---|---|
| RGB | rgb(144, 56, 178) |
| HSL | hsl(283, 52%, 46%) |
| HSV | hsv(283, 69%, 70%) |
| CMYK | cmyk(19.1%, 68.5%, 0%, 30.2%) |
| CIE-LAB | lab(41.17, 55.60, -48.52) |
| CIE-LCH | lch(41.17, 73.79, 318.89°) |
| OKLab | oklab(51.72% 0.1365 -0.1365) |
| OKLCH | oklch(51.72% 0.193 315) |
| XYZ | xyz(20.9504, 11.9727, 43.3182) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.41
Darkorchid
#9932CC
ΔE00 3.95
Barney
#AC1DB8
ΔE00 5.00
Medium Purple
#9E43A2
ΔE00 5.78
Darkviolet
#9400D3
ΔE00 6.32
Purple (survey)
#7E1E9C
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9038B2 #5AB238
analogous
#5338B2 #9038B2 #B23897
triadic
#9038B2 #B29038 #38B290
tetradic
#9038B2 #B25338 #5AB238 #3897B2
square
#9038B2 #B25338 #5AB238 #3897B2
split-complementary
#9038B2 #97B238 #38B253
monochromatic
#451B55 #6A2983 #9038B2 #AC5CCC #C48ADA
Accessibility & contrast
On white
6.19
#9038B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9038B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9038B2
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9038B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9038B2 | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#3563AF
Tritanopia (blue-blind)
#8D5071
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9038b2; /* rgb */ color: rgb(144, 56, 178); /* oklch */ color: oklch(51.7% 0.193 315.0);
Tailwind
colors: {
custom: {
50: '#b476ca',
500: '#9038b2',
950: '#000000',
},
}SCSS
$custom: #9038b2; $custom-light: #b476ca; $custom-dark: #000000;
JSON
{
"hex": "#9038b2",
"rgb": {
"r": 144,
"g": 56,
"b": 178
},
"hsl": {
"h": 283.279,
"s": 52.137,
"l": 45.882
},
"oklch": {
"l": 0.5172,
"c": 0.19306,
"h": 315
},
"luminance": 0.11972
}Semantic roles & 50–950 ramp
primary
#9038B2
secondary
#94C581
accent
#DC4C74
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82