#90168B#90168B

#90168B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 330.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#90168B
RGBrgb(144, 22, 139)
HSLhsl(302, 73%, 33%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 84.7%, 3.5%, 43.5%)
CIE-LABlab(34.74, 59.93, -35.26)
CIE-LCHlch(34.74, 69.54, 329.53°)
OKLaboklab(46.36% 0.1699 -0.0976)
OKLCHoklch(46.36% 0.196 330.1)
XYZxyz(16.4486, 8.3685, 25.1701)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168B #16901B
analogous
#581690 #90168B #90164E
triadic
#90168B #8B9016 #168B90
tetradic
#90168B #905816 #16901B #164E90
square
#90168B #905816 #16901B #164E90
split-complementary
#90168B #4E9016 #169058
monochromatic
#260625 #5B0E58 #90168B #C51EBE #E23FDB

Accessibility & contrast

On white

7.86
#90168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90168B
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168B#FFFFFF#000000##FFFFFF
##90168B1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#962B52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90168b;
/* rgb */ color: rgb(144, 22, 139);
/* oklch */ color: oklch(46.4% 0.196 330.1);
Tailwind
colors: {
  custom: {
    50: '#b466ad',
    500: '#90168b',
    950: '#000000',
  },
}
SCSS
$custom: #90168b;
$custom-light: #b466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90168b",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 302.459,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.19589,
    "h": 330.1
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#90168B
secondary
#40C245
accent
#F03F38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168B

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

Preview Lab → · Contrast checker → · Palette generator →

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