#9038AF#9038AF
#9038AF is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.5% C 0.190 H 316.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9038AF |
|---|---|
| RGB | rgb(144, 56, 175) |
| HSL | hsl(284, 52%, 45%) |
| HSV | hsv(284, 68%, 69%) |
| CMYK | cmyk(17.7%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(40.98, 54.98, -47.05) |
| CIE-LCH | lch(40.98, 72.37, 319.44°) |
| OKLab | oklab(51.52% 0.1367 -0.1322) |
| OKLCH | oklch(51.52% 0.19 316) |
| XYZ | xyz(20.6524, 11.8536, 41.7492) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.35
Darkorchid
#9932CC
ΔE00 4.42
Barney
#AC1DB8
ΔE00 4.97
Medium Purple
#9E43A2
ΔE00 5.44
Purple (survey)
#7E1E9C
ΔE00 6.38
Warm Purple
#952E8F
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9038AF #57AF38
analogous
#5538AF #9038AF #AF3892
triadic
#9038AF #AF9038 #38AF90
tetradic
#9038AF #AF5538 #57AF38 #3892AF
square
#9038AF #AF5538 #57AF38 #3892AF
split-complementary
#9038AF #92AF38 #38AF55
monochromatic
#441A52 #6A2981 #9038AF #AD5ACA #C488D9
Accessibility & contrast
On white
6.23
#9038AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#9038AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9038AF
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9038AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9038AF | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#3763AC
Tritanopia (blue-blind)
#8E4F6F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9038af; /* rgb */ color: rgb(144, 56, 175); /* oklch */ color: oklch(51.5% 0.190 316.0);
Tailwind
colors: {
custom: {
50: '#b476c7',
500: '#9038af',
950: '#000000',
},
}SCSS
$custom: #9038af; $custom-light: #b476c7; $custom-dark: #000000;
JSON
{
"hex": "#9038af",
"rgb": {
"r": 144,
"g": 56,
"b": 175
},
"hsl": {
"h": 284.37,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.51523,
"c": 0.19017,
"h": 316
},
"luminance": 0.11853
}Semantic roles & 50–950 ramp
primary
#9038AF
secondary
#91C380
accent
#DB4D72
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82