#90168C#90168C

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

Color values

HEX#90168C
RGBrgb(144, 22, 140)
HSLhsl(302, 73%, 33%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 84.7%, 2.8%, 43.5%)
CIE-LABlab(34.80, 60.09, -35.79)
CIE-LCHlch(34.80, 69.94, 329.22°)
OKLaboklab(46.42% 0.1698 -0.0991)
OKLCHoklch(46.42% 0.197 329.7)
XYZxyz(16.5220, 8.3979, 25.5566)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168C #16901A
analogous
#571690 #90168C #90164F
triadic
#90168C #8C9016 #168C90
tetradic
#90168C #905716 #16901A #164F90
square
#90168C #905716 #16901A #164F90
split-complementary
#90168C #4F9016 #169057
monochromatic
#260625 #5B0E58 #90168C #C51EC0 #E23FDC

Accessibility & contrast

On white

7.84
#90168C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#90168C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90168C
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168C#FFFFFF#000000##FFFFFF
##90168C1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#952B53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90168c;
/* rgb */ color: rgb(144, 22, 140);
/* oklch */ color: oklch(46.4% 0.197 329.7);
Tailwind
colors: {
  custom: {
    50: '#b466ae',
    500: '#90168c',
    950: '#000000',
  },
}
SCSS
$custom: #90168c;
$custom-light: #b466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90168c",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 140
  },
  "hsl": {
    "h": 301.967,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.19662,
    "h": 329.7
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#90168C
secondary
#40C244
accent
#F03E38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168C

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

Preview Lab → · Contrast checker → · Palette generator →

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