#90198C#90198C

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

Color values

HEX#90198C
RGBrgb(144, 25, 140)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 82.6%, 2.8%, 43.5%)
CIE-LABlab(35.04, 59.38, -35.40)
CIE-LCHlch(35.04, 69.13, 329.20°)
OKLaboklab(46.6% 0.1678 -0.098)
OKLCHoklch(46.6% 0.194 329.7)
XYZxyz(16.5828, 8.5193, 25.5769)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90198C #19901D
analogous
#581990 #90198C #901950
triadic
#90198C #8C9019 #198C90
tetradic
#90198C #905819 #19901D #195090
square
#90198C #905819 #19901D #195090
split-complementary
#90198C #509019 #199058
monochromatic
#280727 #5C1059 #90198C #C422BF #DF45D9

Accessibility & contrast

On white

7.77
#90198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90198C
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90198C#FFFFFF#000000##FFFFFF
##90198C1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90198c;
/* rgb */ color: rgb(144, 25, 140);
/* oklch */ color: oklch(46.6% 0.194 329.7);
Tailwind
colors: {
  custom: {
    50: '#b467ae',
    500: '#90198c',
    950: '#000000',
  },
}
SCSS
$custom: #90198c;
$custom-light: #b467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90198c",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 302.017,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46595,
    "c": 0.1943,
    "h": 329.7
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#90198C
secondary
#45C049
accent
#ED413B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90198C

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

Preview Lab → · Contrast checker → · Palette generator →

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