#90158D#90158D

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

Color values

HEX#90158D
RGBrgb(144, 21, 141)
HSLhsl(301, 75%, 32%)
HSVhsv(301, 85%, 56%)
CMYKcmyk(0%, 85.4%, 2.1%, 43.5%)
CIE-LABlab(34.78, 60.47, -36.43)
CIE-LCHlch(34.78, 70.60, 328.93°)
OKLaboklab(46.43% 0.1704 -0.101)
OKLCHoklch(46.43% 0.198 329.4)
XYZxyz(16.5774, 8.3900, 25.9405)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90158D #159018
analogous
#551590 #90158D #901550
triadic
#90158D #8D9015 #158D90
tetradic
#90158D #905515 #159018 #155090
square
#90158D #905515 #159018 #155090
split-complementary
#90158D #509015 #159055
monochromatic
#250524 #5B0D59 #90158D #C51DC1 #E33DDF

Accessibility & contrast

On white

7.84
#90158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90158D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90158D#FFFFFF#000000##FFFFFF
##90158D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#952B53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #90158d;
/* rgb */ color: rgb(144, 21, 141);
/* oklch */ color: oklch(46.4% 0.198 329.4);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#90158d',
    950: '#000000',
  },
}
SCSS
$custom: #90158d;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#90158d",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 301.463,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4643,
    "c": 0.19807,
    "h": 329.4
  },
  "luminance": 0.08389
}

Semantic roles & 50–950 ramp

primary
#90158D
secondary
#3EC242
accent
#F13B37
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90158D

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

Preview Lab → · Contrast checker → · Palette generator →

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