#90188C#90188C

#90188C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.195 H 329.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#90188C
RGBrgb(144, 24, 140)
HSLhsl(302, 71%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 83.3%, 2.8%, 43.5%)
CIE-LABlab(34.96, 59.63, -35.53)
CIE-LCHlch(34.96, 69.41, 329.21°)
OKLaboklab(46.54% 0.1685 -0.0984)
OKLCHoklch(46.54% 0.195 329.7)
XYZxyz(16.5618, 8.4773, 25.5699)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90188C #18901C
analogous
#581890 #90188C #901850
triadic
#90188C #8C9018 #188C90
tetradic
#90188C #905818 #18901C #185090
square
#90188C #905818 #18901C #185090
split-complementary
#90188C #509018 #189058
monochromatic
#270726 #5C0F59 #90188C #C421BF #E043DA

Accessibility & contrast

On white

7.79
#90188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90188C
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90188C#FFFFFF#000000##FFFFFF
##90188C1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#952C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90188c;
/* rgb */ color: rgb(144, 24, 140);
/* oklch */ color: oklch(46.5% 0.195 329.7);
Tailwind
colors: {
  custom: {
    50: '#b467ae',
    500: '#90188c',
    950: '#000000',
  },
}
SCSS
$custom: #90188c;
$custom-light: #b467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90188c",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 302,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46535,
    "c": 0.1951,
    "h": 329.7
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#90188C
secondary
#43C048
accent
#EE403A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90188C

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

Preview Lab → · Contrast checker → · Palette generator →

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