#90178E#90178E

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

Color values

HEX#90178E
RGBrgb(144, 23, 142)
HSLhsl(301, 72%, 33%)
HSVhsv(301, 84%, 56%)
CMYKcmyk(0%, 84%, 1.4%, 43.5%)
CIE-LABlab(35.00, 60.18, -36.70)
CIE-LCHlch(35.00, 70.49, 328.62°)
OKLaboklab(46.6% 0.1691 -0.1018)
OKLCHoklch(46.6% 0.197 329)
XYZxyz(16.6903, 8.4964, 26.3469)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178E #179019
analogous
#561790 #90178E #901751
triadic
#90178E #8E9017 #178E90
tetradic
#90178E #905617 #179019 #175190
square
#90178E #905617 #179019 #175190
split-complementary
#90178E #519017 #179056
monochromatic
#260626 #5B0F5A #90178E #C51FC2 #E141DE

Accessibility & contrast

On white

7.78
#90178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#90178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90178E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178E#FFFFFF#000000##FFFFFF
##90178E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#952D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178e;
/* rgb */ color: rgb(144, 23, 142);
/* oklch */ color: oklch(46.6% 0.197 329.0);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#90178e',
    950: '#000000',
  },
}
SCSS
$custom: #90178e;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#90178e",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 300.992,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.466,
    "c": 0.19735,
    "h": 329
  },
  "luminance": 0.08495
}

Semantic roles & 50–950 ramp

primary
#90178E
secondary
#42C144
accent
#EF3C39
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178E

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

Preview Lab → · Contrast checker → · Palette generator →

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