#901D8B#901D8B

#901D8B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.190 H 330.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#901D8B
RGBrgb(144, 29, 139)
HSLhsl(303, 66%, 34%)
HSVhsv(303, 80%, 56%)
CMYKcmyk(0%, 79.9%, 3.5%, 43.5%)
CIE-LABlab(35.35, 58.17, -34.30)
CIE-LCHlch(35.35, 67.52, 329.47°)
OKLaboklab(46.79% 0.1648 -0.0948)
OKLCHoklch(46.79% 0.19 330.1)
XYZxyz(16.6011, 8.6734, 25.2209)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D8B #1D9022
analogous
#5C1D90 #901D8B #901D52
triadic
#901D8B #8B901D #1D8B90
tetradic
#901D8B #905C1D #1D9022 #1D5290
square
#901D8B #905C1D #1D9022 #1D5290
split-complementary
#901D8B #52901D #1D905C
monochromatic
#2A0829 #5D135A #901D8B #C327BC #DB4CD5

Accessibility & contrast

On white

7.68
#901D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#901D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D8B
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D8B#FFFFFF#000000##FFFFFF
##901D8B1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#962E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901d8b;
/* rgb */ color: rgb(144, 29, 139);
/* oklch */ color: oklch(46.8% 0.190 330.1);
Tailwind
colors: {
  custom: {
    50: '#b468ad',
    500: '#901d8b',
    950: '#000000',
  },
}
SCSS
$custom: #901d8b;
$custom-light: #b468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901d8b",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 302.609,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.19012,
    "h": 330.1
  },
  "luminance": 0.08672
}

Semantic roles & 50–950 ramp

primary
#901D8B
secondary
#4BBD50
accent
#E9463E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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