#90168E#90168E

#90168E is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.198 H 329.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#90168E
RGBrgb(144, 22, 142)
HSLhsl(301, 73%, 33%)
HSVhsv(301, 85%, 56%)
CMYKcmyk(0%, 84.7%, 1.4%, 43.5%)
CIE-LABlab(34.92, 60.41, -36.83)
CIE-LCHlch(34.92, 70.75, 328.63°)
OKLaboklab(46.54% 0.1697 -0.1021)
OKLCHoklch(46.54% 0.198 329)
XYZxyz(16.6709, 8.4574, 26.3404)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168E #169018
analogous
#551690 #90168E #901651
triadic
#90168E #8E9016 #168E90
tetradic
#90168E #905516 #169018 #165190
square
#90168E #905516 #169018 #165190
split-complementary
#90168E #519016 #169055
monochromatic
#260625 #5B0E5A #90168E #C51EC2 #E23FDF

Accessibility & contrast

On white

7.80
#90168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90168E
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168E#FFFFFF#000000##FFFFFF
##90168E1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90168e;
/* rgb */ color: rgb(144, 22, 142);
/* oklch */ color: oklch(46.5% 0.198 329.0);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#90168e',
    950: '#000000',
  },
}
SCSS
$custom: #90168e;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#90168e",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 300.984,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46545,
    "c": 0.19808,
    "h": 329
  },
  "luminance": 0.08456
}

Semantic roles & 50–950 ramp

primary
#90168E
secondary
#40C242
accent
#F03B38
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168E

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

Preview Lab → · Contrast checker → · Palette generator →

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