#90198F#90198F

#90198F is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.197 H 328.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#90198F
RGBrgb(144, 25, 143)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 82.6%, 0.7%, 43.5%)
CIE-LABlab(35.22, 59.87, -36.96)
CIE-LCHlch(35.22, 70.36, 328.31°)
OKLaboklab(46.78% 0.1677 -0.1025)
OKLCHoklch(46.78% 0.197 328.6)
XYZxyz(16.8070, 8.6090, 26.7578)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90198F #19901A
analogous
#551990 #90198F #901953
triadic
#90198F #8F9019 #198F90
tetradic
#90198F #905519 #19901A #195390
square
#90198F #905519 #19901A #195390
split-complementary
#90198F #539019 #199055
monochromatic
#280727 #5C105B #90198F #C422C3 #DF45DD

Accessibility & contrast

On white

7.72
#90198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#90198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90198F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90198F#FFFFFF#000000##FFFFFF
##90198F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#952E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #90198f;
/* rgb */ color: rgb(144, 25, 143);
/* oklch */ color: oklch(46.8% 0.197 328.6);
Tailwind
colors: {
  custom: {
    50: '#b467b0',
    500: '#90198f',
    950: '#000000',
  },
}
SCSS
$custom: #90198f;
$custom-light: #b467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#90198f",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 300.504,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46779,
    "c": 0.19654,
    "h": 328.6
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#90198F
secondary
#45C046
accent
#ED3C3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90198F

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

Preview Lab → · Contrast checker → · Palette generator →

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