#90217E#90217E

#90217E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.177 H 335.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#90217E
RGBrgb(144, 33, 126)
HSLhsl(310, 63%, 35%)
HSVhsv(310, 77%, 56%)
CMYKcmyk(0%, 77.1%, 12.5%, 43.5%)
CIE-LABlab(35.05, 54.93, -26.70)
CIE-LCHlch(35.05, 61.08, 334.08°)
OKLaboklab(46.35% 0.1608 -0.0729)
OKLCHoklch(46.35% 0.177 335.6)
XYZxyz(15.8116, 8.5248, 20.5473)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90217E #219033
analogous
#6B2190 #90217E #902146
triadic
#90217E #7E9021 #217E90
tetradic
#90217E #906B21 #219033 #214690
square
#90217E #906B21 #219033 #214690
split-complementary
#90217E #469021 #21906B
monochromatic
#2C0A27 #5E1652 #90217E #C22CAA #D854C2

Accessibility & contrast

On white

7.76
#90217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90217E
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90217E#FFFFFF#000000##FFFFFF
##90217E1.007.762.707.76
#FFFFFF7.761.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#4A587B
Tritanopia (blue-blind)
#972A4E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90217e;
/* rgb */ color: rgb(144, 33, 126);
/* oklch */ color: oklch(46.4% 0.177 335.6);
Tailwind
colors: {
  custom: {
    50: '#b469a3',
    500: '#90217e',
    950: '#000000',
  },
}
SCSS
$custom: #90217e;
$custom-light: #b469a3;
$custom-dark: #000000;
JSON
{
  "hex": "#90217e",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 309.73,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46353,
    "c": 0.17658,
    "h": 335.6
  },
  "luminance": 0.08523
}

Semantic roles & 50–950 ramp

primary
#90217E
secondary
#51BB63
accent
#E65D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90217E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#90217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva