#90177F#90177F
#90177F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 335.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #90177F |
|---|---|
| RGB | rgb(144, 23, 127) |
| HSL | hsl(308, 72%, 33%) |
| HSV | hsv(308, 84%, 56%) |
| CMYK | cmyk(0%, 84%, 11.8%, 43.5%) |
| CIE-LAB | lab(34.14, 57.86, -28.75) |
| CIE-LCH | lch(34.14, 64.61, 333.58°) |
| OKLab | oklab(45.72% 0.1692 -0.0787) |
| OKLCH | oklch(45.72% 0.187 335) |
| XYZ | xyz(15.6390, 8.0759, 20.8097) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkmagenta
#8B008B
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 4.11
Purple
#800080
ΔE00 4.55
Barney Purple
#A00498
ΔE00 4.57
Darkish Purple
#751973
ΔE00 5.24
Red Violet
#9E0168
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#90177F #179028
analogous
#651790 #90177F #901742
triadic
#90177F #7F9017 #177F90
tetradic
#90177F #906517 #179028 #174290
square
#90177F #906517 #179028 #174290
split-complementary
#90177F #429017 #179065
monochromatic
#260622 #5B0F50 #90177F #C51FAE #E141CA
Accessibility & contrast
On white
8.03
#90177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#90177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #90177F
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##90177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##90177F | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#97244C
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #90177f; /* rgb */ color: rgb(144, 23, 127); /* oklch */ color: oklch(45.7% 0.187 335.0);
Tailwind
colors: {
custom: {
50: '#b466a4',
500: '#90177f',
950: '#000000',
},
}SCSS
$custom: #90177f; $custom-light: #b466a4; $custom-dark: #000000;
JSON
{
"hex": "#90177f",
"rgb": {
"r": 144,
"g": 23,
"b": 127
},
"hsl": {
"h": 308.43,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.45716,
"c": 0.18658,
"h": 335
},
"luminance": 0.08074
}Semantic roles & 50–950 ramp
primary
#90177F
secondary
#42C154
accent
#EF5239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F