#90167D#90167D

#90167D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 335.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#90167D
RGBrgb(144, 22, 125)
HSLhsl(309, 73%, 33%)
HSVhsv(309, 85%, 56%)
CMYKcmyk(0%, 84.7%, 13.2%, 43.5%)
CIE-LABlab(33.95, 57.80, -27.80)
CIE-LCHlch(33.95, 64.14, 334.32°)
OKLaboklab(45.55% 0.1698 -0.076)
OKLCHoklch(45.55% 0.186 335.9)
XYZxyz(15.4905, 7.9853, 20.1236)
Luminance0.0798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90167D #169029
analogous
#661690 #90167D #901640
triadic
#90167D #7D9016 #167D90
tetradic
#90167D #906616 #169029 #164090
square
#90167D #906616 #169029 #164090
split-complementary
#90167D #409016 #169066
monochromatic
#260621 #5B0E4F #90167D #C51EAB #E23FC8

Accessibility & contrast

On white

8.09
#90167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#90167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90167D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90167D#FFFFFF#000000##FFFFFF
##90167D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184480
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#98224A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90167d;
/* rgb */ color: rgb(144, 22, 125);
/* oklch */ color: oklch(45.5% 0.186 335.9);
Tailwind
colors: {
  custom: {
    50: '#b465a3',
    500: '#90167d',
    950: '#000000',
  },
}
SCSS
$custom: #90167d;
$custom-light: #b465a3;
$custom-dark: #000000;
JSON
{
  "hex": "#90167d",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 309.344,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.18598,
    "h": 335.9
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#90167D
secondary
#40C254
accent
#F05438
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90167D

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

Preview Lab → · Contrast checker → · Palette generator →

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