#90158B#90158B

#90158B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.197 H 330.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#90158B
RGBrgb(144, 21, 139)
HSLhsl(302, 75%, 32%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 85.4%, 3.5%, 43.5%)
CIE-LABlab(34.66, 60.15, -35.38)
CIE-LCHlch(34.66, 69.79, 329.53°)
OKLaboklab(46.31% 0.1705 -0.0979)
OKLCHoklch(46.31% 0.197 330.1)
XYZxyz(16.4299, 8.3311, 25.1638)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90158B #15901A
analogous
#581590 #90158B #90154E
triadic
#90158B #8B9015 #158B90
tetradic
#90158B #905815 #15901A #154E90
square
#90158B #905815 #15901A #154E90
split-complementary
#90158B #4E9015 #159058
monochromatic
#250524 #5B0D57 #90158B #C51DBF #E33DDC

Accessibility & contrast

On white

7.88
#90158B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90158B
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90158B#FFFFFF#000000##FFFFFF
##90158B1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#962A52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #90158b;
/* rgb */ color: rgb(144, 21, 139);
/* oklch */ color: oklch(46.3% 0.197 330.1);
Tailwind
colors: {
  custom: {
    50: '#b466ad',
    500: '#90158b',
    950: '#000000',
  },
}
SCSS
$custom: #90158b;
$custom-light: #b466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90158b",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 139
  },
  "hsl": {
    "h": 302.439,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46307,
    "c": 0.19662,
    "h": 330.1
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#90158B
secondary
#3EC244
accent
#F13E37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90158B

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

Preview Lab → · Contrast checker → · Palette generator →

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