#901D87#901D87

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

Color values

HEX#901D87
RGBrgb(144, 29, 135)
HSLhsl(305, 66%, 34%)
HSVhsv(305, 80%, 56%)
CMYKcmyk(0%, 79.9%, 6.2%, 43.5%)
CIE-LABlab(35.12, 57.53, -32.19)
CIE-LCHlch(35.12, 65.92, 330.77°)
OKLaboklab(46.56% 0.1648 -0.0887)
OKLCHoklch(46.56% 0.187 331.7)
XYZxyz(16.3142, 8.5587, 23.7097)
Luminance0.0856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D87 #1D9026
analogous
#601D90 #901D87 #901D4E
triadic
#901D87 #87901D #1D8790
tetradic
#901D87 #90601D #1D9026 #1D4E90
square
#901D87 #90601D #1D9026 #1D4E90
split-complementary
#901D87 #4E901D #1D9060
monochromatic
#2A0827 #5D1357 #901D87 #C327B7 #DB4CD0

Accessibility & contrast

On white

7.75
#901D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#901D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D87
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D87#FFFFFF#000000##FFFFFF
##901D871.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901d87;
/* rgb */ color: rgb(144, 29, 135);
/* oklch */ color: oklch(46.6% 0.187 331.7);
Tailwind
colors: {
  custom: {
    50: '#b468aa',
    500: '#901d87',
    950: '#000000',
  },
}
SCSS
$custom: #901d87;
$custom-light: #b468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901d87",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 304.696,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.18713,
    "h": 331.7
  },
  "luminance": 0.08557
}

Semantic roles & 50–950 ramp

primary
#901D87
secondary
#4BBD54
accent
#E94C3E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D87

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

Preview Lab → · Contrast checker → · Palette generator →

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