#90168F#90168F

#90168F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.199 H 328.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#90168F
RGBrgb(144, 22, 143)
HSLhsl(300, 73%, 33%)
HSVhsv(300, 85%, 56%)
CMYKcmyk(0%, 84.7%, 0.7%, 43.5%)
CIE-LABlab(34.98, 60.57, -37.35)
CIE-LCHlch(34.98, 71.16, 328.34°)
OKLaboklab(46.61% 0.1697 -0.1036)
OKLCHoklch(46.61% 0.199 328.6)
XYZxyz(16.7463, 8.4876, 26.7375)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90168F #169017
analogous
#541690 #90168F #901652
triadic
#90168F #8F9016 #168F90
tetradic
#90168F #905416 #169017 #165290
square
#90168F #905416 #169017 #165290
split-complementary
#90168F #529016 #169054
monochromatic
#260626 #5B0E5A #90168F #C51EC4 #E23FE0

Accessibility & contrast

On white

7.79
#90168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90168F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90168F#FFFFFF#000000##FFFFFF
##90168F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#952D55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90168f;
/* rgb */ color: rgb(144, 22, 143);
/* oklch */ color: oklch(46.6% 0.199 328.6);
Tailwind
colors: {
  custom: {
    50: '#b466b0',
    500: '#90168f',
    950: '#000000',
  },
}
SCSS
$custom: #90168f;
$custom-light: #b466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#90168f",
  "rgb": {
    "r": 144,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 300.492,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.46607,
    "c": 0.19883,
    "h": 328.6
  },
  "luminance": 0.08486
}

Semantic roles & 50–950 ramp

primary
#90168F
secondary
#40C241
accent
#F03938
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90168F

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

Preview Lab → · Contrast checker → · Palette generator →

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