#90178F#90178F

#90178F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.7% C 0.198 H 328.6°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#90178F
RGBrgb(144, 23, 143)
HSLhsl(300, 72%, 33%)
HSVhsv(300, 84%, 56%)
CMYKcmyk(0%, 84%, 0.7%, 43.5%)
CIE-LABlab(35.06, 60.34, -37.22)
CIE-LCHlch(35.06, 70.90, 328.33°)
OKLaboklab(46.66% 0.169 -0.1033)
OKLCHoklch(46.66% 0.198 328.6)
XYZxyz(16.7658, 8.5266, 26.7440)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90178F #179018
analogous
#551790 #90178F #901752
triadic
#90178F #8F9017 #178F90
tetradic
#90178F #905517 #179018 #175290
square
#90178F #905517 #179018 #175290
split-complementary
#90178F #529017 #179055
monochromatic
#260626 #5B0F5B #90178F #C51FC3 #E141DF

Accessibility & contrast

On white

7.76
#90178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#90178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90178F
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90178F#FFFFFF#000000##FFFFFF
##90178F1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3D588C
Tritanopia (blue-blind)
#952D55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90178f;
/* rgb */ color: rgb(144, 23, 143);
/* oklch */ color: oklch(46.7% 0.198 328.6);
Tailwind
colors: {
  custom: {
    50: '#b466b0',
    500: '#90178f',
    950: '#000000',
  },
}
SCSS
$custom: #90178f;
$custom-light: #b466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#90178f",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 300.496,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46663,
    "c": 0.19809,
    "h": 328.6
  },
  "luminance": 0.08525
}

Semantic roles & 50–950 ramp

primary
#90178F
secondary
#42C143
accent
#EF3A39
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90178F

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

Preview Lab → · Contrast checker → · Palette generator →

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