#90178D#90178D

#90178D is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.197 H 329.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#90178D
RGBrgb(144, 23, 141)
HSLhsl(301, 72%, 33%)
HSVhsv(301, 84%, 56%)
CMYKcmyk(0%, 84%, 2.1%, 43.5%)
CIE-LABlab(34.94, 60.02, -36.18)
CIE-LCHlch(34.94, 70.08, 328.92°)
OKLaboklab(46.54% 0.1691 -0.1003)
OKLCHoklch(46.54% 0.197 329.3)
XYZxyz(16.6156, 8.4665, 25.9532)
Luminance0.0847 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178D #17901A
analogous
#571790 #90178D #901750
triadic
#90178D #8D9017 #178D90
tetradic
#90178D #905717 #17901A #175090
square
#90178D #905717 #17901A #175090
split-complementary
#90178D #509017 #179057
monochromatic
#260626 #5B0F59 #90178D #C51FC1 #E141DD

Accessibility & contrast

On white

7.80
#90178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90178D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178D#FFFFFF#000000##FFFFFF
##90178D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3F588A
Tritanopia (blue-blind)
#952C54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178d;
/* rgb */ color: rgb(144, 23, 141);
/* oklch */ color: oklch(46.5% 0.197 329.3);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#90178d',
    950: '#000000',
  },
}
SCSS
$custom: #90178d;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#90178d",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 301.488,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46539,
    "c": 0.19661,
    "h": 329.3
  },
  "luminance": 0.08465
}

Semantic roles & 50–950 ramp

primary
#90178D
secondary
#42C145
accent
#EF3D39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178D

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

Preview Lab → · Contrast checker → · Palette generator →

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