#90197F#90197F

#90197F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.185 H 335.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#90197F
RGBrgb(144, 25, 127)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 82.6%, 11.8%, 43.5%)
CIE-LABlab(34.31, 57.37, -28.49)
CIE-LCHlch(34.31, 64.05, 333.59°)
OKLaboklab(45.84% 0.1677 -0.078)
OKLCHoklch(45.84% 0.185 335.1)
XYZxyz(15.6802, 8.1583, 20.8235)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90197F #19902A
analogous
#651990 #90197F #901944
triadic
#90197F #7F9019 #197F90
tetradic
#90197F #906519 #19902A #194490
square
#90197F #906519 #19902A #194490
split-complementary
#90197F #449019 #199065
monochromatic
#280723 #5C1051 #90197F #C422AD #DF45C9

Accessibility & contrast

On white

7.98
#90197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#90197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90197F
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90197F#FFFFFF#000000##FFFFFF
##90197F1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184682
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#97254C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #90197f;
/* rgb */ color: rgb(144, 25, 127);
/* oklch */ color: oklch(45.8% 0.185 335.1);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#90197f',
    950: '#000000',
  },
}
SCSS
$custom: #90197f;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90197f",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 308.571,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45837,
    "c": 0.18493,
    "h": 335.1
  },
  "luminance": 0.08157
}

Semantic roles & 50–950 ramp

primary
#90197F
secondary
#45C057
accent
#ED543B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90197F

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

Preview Lab → · Contrast checker → · Palette generator →

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