#90167F#90167F

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

Color values

HEX#90167F
RGBrgb(144, 22, 127)
HSLhsl(308, 73%, 33%)
HSVhsv(308, 85%, 56%)
CMYKcmyk(0%, 84.7%, 11.8%, 43.5%)
CIE-LABlab(34.06, 58.10, -28.88)
CIE-LCHlch(34.06, 64.88, 333.57°)
OKLaboklab(45.66% 0.1698 -0.0791)
OKLCHoklch(45.66% 0.187 335)
XYZxyz(15.6195, 8.0369, 20.8032)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90167F #169027
analogous
#641690 #90167F #901642
triadic
#90167F #7F9016 #167F90
tetradic
#90167F #906416 #169027 #164290
square
#90167F #906416 #169027 #164290
split-complementary
#90167F #429016 #169064
monochromatic
#260621 #5B0E50 #90167F #C51EAE #E23FCB

Accessibility & contrast

On white

8.06
#90167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#90167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90167F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90167F#FFFFFF#000000##FFFFFF
##90167F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154582
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#97234C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90167f;
/* rgb */ color: rgb(144, 22, 127);
/* oklch */ color: oklch(45.7% 0.187 335.0);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#90167f',
    950: '#000000',
  },
}
SCSS
$custom: #90167f;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90167f",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 308.361,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.18736,
    "h": 335
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#90167F
secondary
#40C252
accent
#F05138
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90167F

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

Preview Lab → · Contrast checker → · Palette generator →

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