#90178B#90178B

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

Color values

HEX#90178B
RGBrgb(144, 23, 139)
HSLhsl(302, 72%, 33%)
HSVhsv(302, 84%, 56%)
CMYKcmyk(0%, 84%, 3.5%, 43.5%)
CIE-LABlab(34.82, 59.70, -35.14)
CIE-LCHlch(34.82, 69.28, 329.52°)
OKLaboklab(46.42% 0.1692 -0.0972)
OKLCHoklch(46.42% 0.195 330.1)
XYZxyz(16.4681, 8.4075, 25.1766)
Luminance0.0841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178B #17901C
analogous
#581790 #90178B #90174F
triadic
#90178B #8B9017 #178B90
tetradic
#90178B #905817 #17901C #174F90
square
#90178B #905817 #17901C #174F90
split-complementary
#90178B #4F9017 #179058
monochromatic
#260625 #5B0F58 #90178B #C51FBE #E141DA

Accessibility & contrast

On white

7.83
#90178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90178B
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178B#FFFFFF#000000##FFFFFF
##90178B1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#962B53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178b;
/* rgb */ color: rgb(144, 23, 139);
/* oklch */ color: oklch(46.4% 0.195 330.1);
Tailwind
colors: {
  custom: {
    50: '#b466ad',
    500: '#90178b',
    950: '#000000',
  },
}
SCSS
$custom: #90178b;
$custom-light: #b466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90178b",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 302.479,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.19514,
    "h": 330.1
  },
  "luminance": 0.08406
}

Semantic roles & 50–950 ramp

primary
#90178B
secondary
#42C147
accent
#EF4039
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178B

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

Preview Lab → · Contrast checker → · Palette generator →

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