#90177D#90177D

#90177D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.185 H 335.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#90177D
RGBrgb(144, 23, 125)
HSLhsl(309, 72%, 33%)
HSVhsv(309, 84%, 56%)
CMYKcmyk(0%, 84%, 13.2%, 43.5%)
CIE-LABlab(34.03, 57.57, -27.67)
CIE-LCHlch(34.03, 63.87, 334.33°)
OKLaboklab(45.61% 0.1691 -0.0756)
OKLCHoklch(45.61% 0.185 335.9)
XYZxyz(15.5099, 8.0242, 20.1301)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90177D #17902A
analogous
#661790 #90177D #901741
triadic
#90177D #7D9017 #177D90
tetradic
#90177D #906617 #17902A #174190
square
#90177D #906617 #17902A #174190
split-complementary
#90177D #419017 #179066
monochromatic
#260621 #5B0F4F #90177D #C51FAB #E141C8

Accessibility & contrast

On white

8.06
#90177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#90177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90177D
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90177D#FFFFFF#000000##FFFFFF
##90177D1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#98224B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90177d;
/* rgb */ color: rgb(144, 23, 125);
/* oklch */ color: oklch(45.6% 0.185 335.9);
Tailwind
colors: {
  custom: {
    50: '#b466a3',
    500: '#90177d',
    950: '#000000',
  },
}
SCSS
$custom: #90177d;
$custom-light: #b466a3;
$custom-dark: #000000;
JSON
{
  "hex": "#90177d",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 309.421,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45605,
    "c": 0.1852,
    "h": 335.9
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#90177D
secondary
#42C156
accent
#EF5539
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90177D

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

Preview Lab → · Contrast checker → · Palette generator →

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