#90177E#90177E

#90177E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.7% C 0.186 H 335.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#90177E
RGBrgb(144, 23, 126)
HSLhsl(309, 72%, 33%)
HSVhsv(309, 84%, 56%)
CMYKcmyk(0%, 84%, 12.5%, 43.5%)
CIE-LABlab(34.09, 57.72, -28.21)
CIE-LCHlch(34.09, 64.24, 333.95°)
OKLaboklab(45.66% 0.1691 -0.0772)
OKLCHoklch(45.66% 0.186 335.5)
XYZxyz(15.5741, 8.0499, 20.4682)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90177E #179029
analogous
#661790 #90177E #901741
triadic
#90177E #7E9017 #177E90
tetradic
#90177E #906617 #179029 #174190
square
#90177E #906617 #179029 #174190
split-complementary
#90177E #419017 #179066
monochromatic
#260622 #5B0F50 #90177E #C51FAC #E141C9

Accessibility & contrast

On white

8.05
#90177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#90177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90177E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90177E#FFFFFF#000000##FFFFFF
##90177E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174581
Deuteranopia (green-blind)
#47567B
Tritanopia (blue-blind)
#98234B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90177e;
/* rgb */ color: rgb(144, 23, 126);
/* oklch */ color: oklch(45.7% 0.186 335.5);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#90177e',
    950: '#000000',
  },
}
SCSS
$custom: #90177e;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90177e",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 308.926,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4566,
    "c": 0.18588,
    "h": 335.5
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#90177E
secondary
#42C155
accent
#EF5439
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90177E

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

Preview Lab → · Contrast checker → · Palette generator →

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