#90167E#90167E

#90167E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.187 H 335.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#90167E
RGBrgb(144, 22, 126)
HSLhsl(309, 73%, 33%)
HSVhsv(309, 85%, 56%)
CMYKcmyk(0%, 84.7%, 12.5%, 43.5%)
CIE-LABlab(34.01, 57.95, -28.34)
CIE-LCHlch(34.01, 64.51, 333.94°)
OKLaboklab(45.6% 0.1698 -0.0775)
OKLCHoklch(45.6% 0.187 335.5)
XYZxyz(15.5547, 8.0109, 20.4617)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90167E #169028
analogous
#651690 #90167E #901641
triadic
#90167E #7E9016 #167E90
tetradic
#90167E #906516 #169028 #164190
square
#90167E #906516 #169028 #164190
split-complementary
#90167E #419016 #169065
monochromatic
#260621 #5B0E50 #90167E #C51EAC #E23FCA

Accessibility & contrast

On white

8.07
#90167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90167E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90167E#FFFFFF#000000##FFFFFF
##90167E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164581
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#98224B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90167e;
/* rgb */ color: rgb(144, 22, 126);
/* oklch */ color: oklch(45.6% 0.187 335.5);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#90167e',
    950: '#000000',
  },
}
SCSS
$custom: #90167e;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90167e",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 308.852,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.18667,
    "h": 335.5
  },
  "luminance": 0.08009
}

Semantic roles & 50–950 ramp

primary
#90167E
secondary
#40C253
accent
#F05338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90167E

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

Preview Lab → · Contrast checker → · Palette generator →

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