#90168D#90168D

#90168D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.197 H 329.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#90168D
RGBrgb(144, 22, 141)
HSLhsl(301, 73%, 33%)
HSVhsv(301, 85%, 56%)
CMYKcmyk(0%, 84.7%, 2.1%, 43.5%)
CIE-LABlab(34.86, 60.25, -36.31)
CIE-LCHlch(34.86, 70.34, 328.92°)
OKLaboklab(46.48% 0.1698 -0.1006)
OKLCHoklch(46.48% 0.197 329.3)
XYZxyz(16.5961, 8.4275, 25.9467)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168D #169019
analogous
#561690 #90168D #901650
triadic
#90168D #8D9016 #168D90
tetradic
#90168D #905616 #169019 #165090
square
#90168D #905616 #169019 #165090
split-complementary
#90168D #509016 #169056
monochromatic
#260625 #5B0E59 #90168D #C51EC1 #E23FDE

Accessibility & contrast

On white

7.82
#90168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#90168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90168D
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168D#FFFFFF#000000##FFFFFF
##90168D1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#952C54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90168d;
/* rgb */ color: rgb(144, 22, 141);
/* oklch */ color: oklch(46.5% 0.197 329.3);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#90168d',
    950: '#000000',
  },
}
SCSS
$custom: #90168d;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#90168d",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 301.475,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46483,
    "c": 0.19735,
    "h": 329.3
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#90168D
secondary
#40C243
accent
#F03C38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168D

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

Preview Lab → · Contrast checker → · Palette generator →

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