#90217F#90217F

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

Color values

HEX#90217F
RGBrgb(144, 33, 127)
HSLhsl(309, 63%, 35%)
HSVhsv(309, 77%, 56%)
CMYKcmyk(0%, 77.1%, 11.8%, 43.5%)
CIE-LABlab(35.10, 55.09, -27.24)
CIE-LCHlch(35.10, 61.45, 333.69°)
OKLaboklab(46.41% 0.1609 -0.0744)
OKLCHoklch(46.41% 0.177 335.2)
XYZxyz(15.8764, 8.5507, 20.8889)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90217F #219032
analogous
#6A2190 #90217F #902148
triadic
#90217F #7F9021 #217F90
tetradic
#90217F #906A21 #219032 #214890
square
#90217F #906A21 #219032 #214890
split-complementary
#90217F #489021 #21906A
monochromatic
#2C0A27 #5E1653 #90217F #C22CAB #D854C4

Accessibility & contrast

On white

7.75
#90217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#90217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90217F
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90217F#FFFFFF#000000##FFFFFF
##90217F1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214882
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#972A4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #90217f;
/* rgb */ color: rgb(144, 33, 127);
/* oklch */ color: oklch(46.4% 0.177 335.2);
Tailwind
colors: {
  custom: {
    50: '#b469a4',
    500: '#90217f',
    950: '#000000',
  },
}
SCSS
$custom: #90217f;
$custom-light: #b469a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90217f",
  "rgb": {
    "r": 144,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 309.189,
    "s": 62.712,
    "l": 34.706
  },
  "oklch": {
    "l": 0.46407,
    "c": 0.1773,
    "h": 335.2
  },
  "luminance": 0.08549
}

Semantic roles & 50–950 ramp

primary
#90217F
secondary
#51BB62
accent
#E65B42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90217F

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

Preview Lab → · Contrast checker → · Palette generator →

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