#90158A#90158A

#90158A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.196 H 330.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#90158A
RGBrgb(144, 21, 138)
HSLhsl(303, 75%, 32%)
HSVhsv(303, 85%, 56%)
CMYKcmyk(0%, 85.4%, 4.2%, 43.5%)
CIE-LABlab(34.60, 60.00, -34.86)
CIE-LCHlch(34.60, 69.39, 329.84°)
OKLaboklab(46.25% 0.1705 -0.0964)
OKLCHoklch(46.25% 0.196 330.5)
XYZxyz(16.3572, 8.3020, 24.7808)
Luminance0.0830 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90158A #15901B
analogous
#591590 #90158A #90154C
triadic
#90158A #8A9015 #158A90
tetradic
#90158A #905915 #15901B #154C90
square
#90158A #905915 #15901B #154C90
split-complementary
#90158A #4C9015 #159059
monochromatic
#250524 #5B0D57 #90158A #C51DBD #E33DDB

Accessibility & contrast

On white

7.89
#90158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#90158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90158A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90158A#FFFFFF#000000##FFFFFF
##90158A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#962952
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #90158a;
/* rgb */ color: rgb(144, 21, 138);
/* oklch */ color: oklch(46.2% 0.196 330.5);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#90158a',
    950: '#000000',
  },
}
SCSS
$custom: #90158a;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#90158a",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 302.927,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46246,
    "c": 0.19589,
    "h": 330.5
  },
  "luminance": 0.08301
}

Semantic roles & 50–950 ramp

primary
#90158A
secondary
#3EC245
accent
#F14037
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90158A

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

Preview Lab → · Contrast checker → · Palette generator →

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