#90158C#90158C

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

Color values

HEX#90158C
RGBrgb(144, 21, 140)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 85.4%, 2.8%, 43.5%)
CIE-LABlab(34.72, 60.31, -35.91)
CIE-LCHlch(34.72, 70.19, 329.23°)
OKLaboklab(46.37% 0.1705 -0.0994)
OKLCHoklch(46.37% 0.197 329.7)
XYZxyz(16.5033, 8.3604, 25.5504)
Luminance0.0836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90158C #159019
analogous
#561590 #90158C #90154F
triadic
#90158C #8C9015 #158C90
tetradic
#90158C #905615 #159019 #154F90
square
#90158C #905615 #159019 #154F90
split-complementary
#90158C #4F9015 #159056
monochromatic
#250524 #5B0D58 #90158C #C51DC0 #E33DDD

Accessibility & contrast

On white

7.86
#90158C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#90158C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90158C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90158C#FFFFFF#000000##FFFFFF
##90158C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90158c;
/* rgb */ color: rgb(144, 21, 140);
/* oklch */ color: oklch(46.4% 0.197 329.7);
Tailwind
colors: {
  custom: {
    50: '#b466ae',
    500: '#90158c',
    950: '#000000',
  },
}
SCSS
$custom: #90158c;
$custom-light: #b466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90158c",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 140
  },
  "hsl": {
    "h": 301.951,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46368,
    "c": 0.19734,
    "h": 329.7
  },
  "luminance": 0.08359
}

Semantic roles & 50–950 ramp

primary
#90158C
secondary
#3EC243
accent
#F13D37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90158C

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

Preview Lab → · Contrast checker → · Palette generator →

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