#90178C#90178C

#90178C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.196 H 329.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#90178C
RGBrgb(144, 23, 140)
HSLhsl(302, 72%, 33%)
HSVhsv(302, 84%, 56%)
CMYKcmyk(0%, 84%, 2.8%, 43.5%)
CIE-LABlab(34.88, 59.86, -35.66)
CIE-LCHlch(34.88, 69.68, 329.22°)
OKLaboklab(46.48% 0.1692 -0.0987)
OKLCHoklch(46.48% 0.196 329.7)
XYZxyz(16.5415, 8.4369, 25.5631)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178C #17901B
analogous
#571790 #90178C #901750
triadic
#90178C #8C9017 #178C90
tetradic
#90178C #905717 #17901B #175090
square
#90178C #905717 #17901B #175090
split-complementary
#90178C #509017 #179057
monochromatic
#260625 #5B0F59 #90178C #C51FBF #E141DB

Accessibility & contrast

On white

7.81
#90178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#90178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90178C
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178C#FFFFFF#000000##FFFFFF
##90178C1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#952C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178c;
/* rgb */ color: rgb(144, 23, 140);
/* oklch */ color: oklch(46.5% 0.196 329.7);
Tailwind
colors: {
  custom: {
    50: '#b466ae',
    500: '#90178c',
    950: '#000000',
  },
}
SCSS
$custom: #90178c;
$custom-light: #b466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90178c",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 301.983,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46477,
    "c": 0.19588,
    "h": 329.7
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#90178C
secondary
#42C146
accent
#EF3F39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178C

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

Preview Lab → · Contrast checker → · Palette generator →

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