#90177F#90177F

#90177F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.187 H 335.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#90177F
RGBrgb(144, 23, 127)
HSLhsl(308, 72%, 33%)
HSVhsv(308, 84%, 56%)
CMYKcmyk(0%, 84%, 11.8%, 43.5%)
CIE-LABlab(34.14, 57.86, -28.75)
CIE-LCHlch(34.14, 64.61, 333.58°)
OKLaboklab(45.72% 0.1692 -0.0787)
OKLCHoklch(45.72% 0.187 335)
XYZxyz(15.6390, 8.0759, 20.8097)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90177F #179028
analogous
#651790 #90177F #901742
triadic
#90177F #7F9017 #177F90
tetradic
#90177F #906517 #179028 #174290
square
#90177F #906517 #179028 #174290
split-complementary
#90177F #429017 #179065
monochromatic
#260622 #5B0F50 #90177F #C51FAE #E141CA

Accessibility & contrast

On white

8.03
#90177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90177F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90177F#FFFFFF#000000##FFFFFF
##90177F1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#97244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90177f;
/* rgb */ color: rgb(144, 23, 127);
/* oklch */ color: oklch(45.7% 0.187 335.0);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#90177f',
    950: '#000000',
  },
}
SCSS
$custom: #90177f;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90177f",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 308.43,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45716,
    "c": 0.18658,
    "h": 335
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#90177F
secondary
#42C154
accent
#EF5239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90177F

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

Preview Lab → · Contrast checker → · Palette generator →

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