#90187E#90187E

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

Color values

HEX#90187E
RGBrgb(144, 24, 126)
HSLhsl(309, 71%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 83.3%, 12.5%, 43.5%)
CIE-LABlab(34.17, 57.47, -28.08)
CIE-LCHlch(34.17, 63.97, 333.96°)
OKLaboklab(45.72% 0.1684 -0.0768)
OKLCHoklch(45.72% 0.185 335.5)
XYZxyz(15.5944, 8.0904, 20.4749)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90187E #18902A
analogous
#661890 #90187E #901842
triadic
#90187E #7E9018 #187E90
tetradic
#90187E #906618 #18902A #184290
square
#90187E #906618 #18902A #184290
split-complementary
#90187E #429018 #189066
monochromatic
#270722 #5C0F50 #90187E #C421AC #E043C8

Accessibility & contrast

On white

8.02
#90187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#90187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90187E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90187E#FFFFFF#000000##FFFFFF
##90187E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90187e;
/* rgb */ color: rgb(144, 24, 126);
/* oklch */ color: oklch(45.7% 0.185 335.5);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#90187e',
    950: '#000000',
  },
}
SCSS
$custom: #90187e;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90187e",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 309,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4572,
    "c": 0.18508,
    "h": 335.5
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#90187E
secondary
#43C056
accent
#EE553A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90187E

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

Preview Lab → · Contrast checker → · Palette generator →

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