#90157F#90157F

#90157F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.188 H 335.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#90157F
RGBrgb(144, 21, 127)
HSLhsl(308, 75%, 32%)
HSVhsv(308, 85%, 56%)
CMYKcmyk(0%, 85.4%, 11.8%, 43.5%)
CIE-LABlab(33.98, 58.32, -29.00)
CIE-LCHlch(33.98, 65.14, 333.56°)
OKLaboklab(45.6% 0.1705 -0.0795)
OKLCHoklch(45.6% 0.188 335)
XYZxyz(15.6008, 7.9994, 20.7970)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90157F #159026
analogous
#641590 #90157F #901541
triadic
#90157F #7F9015 #157F90
tetradic
#90157F #906415 #159026 #154190
square
#90157F #906415 #159026 #154190
split-complementary
#90157F #419015 #159064
monochromatic
#250521 #5B0D50 #90157F #C51DAE #E33DCC

Accessibility & contrast

On white

8.08
#90157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#90157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90157F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90157F#FFFFFF#000000##FFFFFF
##90157F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#46567C
Tritanopia (blue-blind)
#97234B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #90157f;
/* rgb */ color: rgb(144, 21, 127);
/* oklch */ color: oklch(45.6% 0.188 335.0);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#90157f',
    950: '#000000',
  },
}
SCSS
$custom: #90157f;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90157f",
  "rgb": {
    "r": 144,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 308.293,
    "s": 74.545,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45602,
    "c": 0.18812,
    "h": 335
  },
  "luminance": 0.07998
}

Semantic roles & 50–950 ramp

primary
#90157F
secondary
#3EC251
accent
#F15037
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90157F

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

Preview Lab → · Contrast checker → · Palette generator →

#90157F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva