#90168A#90168A

#90168A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.195 H 330.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#90168A
RGBrgb(144, 22, 138)
HSLhsl(303, 73%, 33%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 84.7%, 4.2%, 43.5%)
CIE-LABlab(34.68, 59.77, -34.74)
CIE-LCHlch(34.68, 69.14, 329.84°)
OKLaboklab(46.3% 0.1699 -0.096)
OKLCHoklch(46.3% 0.195 330.5)
XYZxyz(16.3759, 8.3394, 24.7870)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168A #16901C
analogous
#591690 #90168A #90164D
triadic
#90168A #8A9016 #168A90
tetradic
#90168A #905916 #16901C #164D90
square
#90168A #905916 #16901C #164D90
split-complementary
#90168A #4D9016 #169059
monochromatic
#260624 #5B0E57 #90168A #C51EBD #E23FDA

Accessibility & contrast

On white

7.87
#90168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#90168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90168A
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168A#FFFFFF#000000##FFFFFF
##90168A1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#962A52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90168a;
/* rgb */ color: rgb(144, 22, 138);
/* oklch */ color: oklch(46.3% 0.195 330.5);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#90168a',
    950: '#000000',
  },
}
SCSS
$custom: #90168a;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#90168a",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 302.951,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.463,
    "c": 0.19516,
    "h": 330.5
  },
  "luminance": 0.08338
}

Semantic roles & 50–950 ramp

primary
#90168A
secondary
#40C246
accent
#F04138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168A

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

Preview Lab → · Contrast checker → · Palette generator →

#90168A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva