#901E87#901E87

#901E87 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.6% C 0.186 H 331.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#901E87
RGBrgb(144, 30, 135)
HSLhsl(305, 66%, 34%)
HSVhsv(305, 79%, 56%)
CMYKcmyk(0%, 79.2%, 6.2%, 43.5%)
CIE-LABlab(35.22, 57.24, -32.03)
CIE-LCHlch(35.22, 65.59, 330.77°)
OKLaboklab(46.63% 0.164 -0.0882)
OKLCHoklch(46.63% 0.186 331.7)
XYZxyz(16.3391, 8.6085, 23.7180)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E87 #1E9027
analogous
#601E90 #901E87 #901E4E
triadic
#901E87 #87901E #1E8790
tetradic
#901E87 #90601E #1E9027 #1E4E90
square
#901E87 #90601E #1E9027 #1E4E90
split-complementary
#901E87 #4E901E #1E9060
monochromatic
#2B0928 #5D1358 #901E87 #C329B6 #DA4ECF

Accessibility & contrast

On white

7.72
#901E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#901E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E87
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E87#FFFFFF#000000##FFFFFF
##901E871.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#962D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901e87;
/* rgb */ color: rgb(144, 30, 135);
/* oklch */ color: oklch(46.6% 0.186 331.7);
Tailwind
colors: {
  custom: {
    50: '#b468aa',
    500: '#901e87',
    950: '#000000',
  },
}
SCSS
$custom: #901e87;
$custom-light: #b468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901e87",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 304.737,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46629,
    "c": 0.18619,
    "h": 331.7
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#901E87
secondary
#4DBD56
accent
#E84D3F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E87

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

Preview Lab → · Contrast checker → · Palette generator →

#901E87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva