#90178A#90178A

#90178A is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.194 H 330.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#90178A
RGBrgb(144, 23, 138)
HSLhsl(303, 72%, 33%)
HSVhsv(303, 84%, 56%)
CMYKcmyk(0%, 84%, 4.2%, 43.5%)
CIE-LABlab(34.76, 59.54, -34.61)
CIE-LCHlch(34.76, 68.88, 329.83°)
OKLaboklab(46.36% 0.1692 -0.0957)
OKLCHoklch(46.36% 0.194 330.5)
XYZxyz(16.3954, 8.3784, 24.7935)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178A #17901D
analogous
#591790 #90178A #90174E
triadic
#90178A #8A9017 #178A90
tetradic
#90178A #905917 #17901D #174E90
square
#90178A #905917 #17901D #174E90
split-complementary
#90178A #4E9017 #179059
monochromatic
#260625 #5B0F57 #90178A #C51FBD #E141D9

Accessibility & contrast

On white

7.85
#90178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#90178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90178A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178A#FFFFFF#000000##FFFFFF
##90178A1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#962A52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178a;
/* rgb */ color: rgb(144, 23, 138);
/* oklch */ color: oklch(46.4% 0.194 330.5);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#90178a',
    950: '#000000',
  },
}
SCSS
$custom: #90178a;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#90178a",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 302.975,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46356,
    "c": 0.19441,
    "h": 330.5
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#90178A
secondary
#42C148
accent
#EF4239
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178A

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

Preview Lab → · Contrast checker → · Palette generator →

#90178A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva