#90177C#90177C

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

Color values

HEX#90177C
RGBrgb(144, 23, 124)
HSLhsl(310, 72%, 33%)
HSVhsv(310, 84%, 56%)
CMYKcmyk(0%, 84%, 13.9%, 43.5%)
CIE-LABlab(33.98, 57.42, -27.13)
CIE-LCHlch(33.98, 63.51, 334.71°)
OKLaboklab(45.55% 0.169 -0.0741)
OKLCHoklch(45.55% 0.185 336.3)
XYZxyz(15.4464, 7.9988, 19.7953)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90177C #17902B
analogous
#671790 #90177C #901740
triadic
#90177C #7C9017 #177C90
tetradic
#90177C #906717 #17902B #174090
square
#90177C #906717 #17902B #174090
split-complementary
#90177C #409017 #179067
monochromatic
#260621 #5B0F4F #90177C #C51FA9 #E141C6

Accessibility & contrast

On white

8.08
#90177C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90177C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90177C#FFFFFF#000000##FFFFFF
##90177C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#98224A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90177c;
/* rgb */ color: rgb(144, 23, 124);
/* oklch */ color: oklch(45.6% 0.185 336.3);
Tailwind
colors: {
  custom: {
    50: '#b466a2',
    500: '#90177c',
    950: '#000000',
  },
}
SCSS
$custom: #90177c;
$custom-light: #b466a2;
$custom-dark: #000000;
JSON
{
  "hex": "#90177c",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 124
  },
  "hsl": {
    "h": 309.917,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4555,
    "c": 0.18451,
    "h": 336.3
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#90177C
secondary
#42C157
accent
#EF5739
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90177C

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

Preview Lab → · Contrast checker → · Palette generator →

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