#90158E#90158E

#90158E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.5% C 0.199 H 329.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#90158E
RGBrgb(144, 21, 142)
HSLhsl(301, 75%, 32%)
HSVhsv(301, 85%, 56%)
CMYKcmyk(0%, 85.4%, 1.4%, 43.5%)
CIE-LABlab(34.84, 60.63, -36.95)
CIE-LCHlch(34.84, 71.00, 328.64°)
OKLaboklab(46.49% 0.1704 -0.1025)
OKLCHoklch(46.49% 0.199 329)
XYZxyz(16.6521, 8.4199, 26.3341)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90158E #159017
analogous
#551590 #90158E #901550
triadic
#90158E #8E9015 #158E90
tetradic
#90158E #905515 #159017 #155090
square
#90158E #905515 #159017 #155090
split-complementary
#90158E #509015 #159055
monochromatic
#250525 #5B0D59 #90158E #C51DC3 #E33DE0

Accessibility & contrast

On white

7.82
#90158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#90158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90158E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90158E#FFFFFF#000000##FFFFFF
##90158E1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90158e;
/* rgb */ color: rgb(144, 21, 142);
/* oklch */ color: oklch(46.5% 0.199 329.0);
Tailwind
colors: {
  custom: {
    50: '#b566af',
    500: '#90158e',
    950: '#000000',
  },
}
SCSS
$custom: #90158e;
$custom-light: #b566af;
$custom-dark: #000000;
JSON
{
  "hex": "#90158e",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 300.976,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46492,
    "c": 0.1988,
    "h": 329
  },
  "luminance": 0.08419
}

Semantic roles & 50–950 ramp

primary
#90158E
secondary
#3EC240
accent
#F13A37
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #90158E

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

Preview Lab → · Contrast checker → · Palette generator →

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