#90198B#90198B

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

Color values

HEX#90198B
RGBrgb(144, 25, 139)
HSLhsl(303, 70%, 33%)
HSVhsv(303, 83%, 56%)
CMYKcmyk(0%, 82.6%, 3.5%, 43.5%)
CIE-LABlab(34.98, 59.22, -34.88)
CIE-LCHlch(34.98, 68.73, 329.51°)
OKLaboklab(46.53% 0.1678 -0.0965)
OKLCHoklch(46.53% 0.194 330.1)
XYZxyz(16.5094, 8.4900, 25.1903)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90198B #19901E
analogous
#591990 #90198B #90194F
triadic
#90198B #8B9019 #198B90
tetradic
#90198B #905919 #19901E #194F90
square
#90198B #905919 #19901E #194F90
split-complementary
#90198B #4F9019 #199059
monochromatic
#280726 #5C1059 #90198B #C422BD #DF45D8

Accessibility & contrast

On white

7.78
#90198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90198B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90198B#FFFFFF#000000##FFFFFF
##90198B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#405888
Tritanopia (blue-blind)
#962C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90198b;
/* rgb */ color: rgb(144, 25, 139);
/* oklch */ color: oklch(46.5% 0.194 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ad',
    500: '#90198b',
    950: '#000000',
  },
}
SCSS
$custom: #90198b;
$custom-light: #b467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90198b",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 302.521,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.19357,
    "h": 330.1
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#90198B
secondary
#45C04A
accent
#ED423B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90198B

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

Preview Lab → · Contrast checker → · Palette generator →

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