#901DB0#901DB0

#901DB0 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.2% C 0.219 H 317.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#901DB0
RGBrgb(144, 29, 176)
HSLhsl(287, 72%, 40%)
HSVhsv(287, 84%, 69%)
CMYKcmyk(18.2%, 83.5%, 0%, 31%)
CIE-LABlab(37.74, 64.64, -52.87)
CIE-LCHlch(37.74, 83.51, 320.72°)
OKLaboklab(49.25% 0.1608 -0.1491)
OKLCHoklch(49.25% 0.219 317.2)
XYZxyz(19.7763, 9.9435, 41.9435)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901DB0 #3DB01D
analogous
#471DB0 #901DB0 #B01D86
triadic
#901DB0 #B0901D #1DB090
tetradic
#901DB0 #B0471D #3DB01D #1D86B0
square
#901DB0 #B0471D #3DB01D #1D86B0
split-complementary
#901DB0 #86B01D #1DB047
monochromatic
#3A0C47 #65147B #901DB0 #B62EDD #C962E5

Accessibility & contrast

On white

7.03
#901DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#901DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901DB0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901DB0#FFFFFF#000000##FFFFFF
##901DB01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#1F5CAD
Tritanopia (blue-blind)
#8E4169
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #901db0;
/* rgb */ color: rgb(144, 29, 176);
/* oklch */ color: oklch(49.2% 0.219 317.2);
Tailwind
colors: {
  custom: {
    50: '#b56ac8',
    500: '#901db0',
    950: '#000000',
  },
}
SCSS
$custom: #901db0;
$custom-light: #b56ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#901db0",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 176
  },
  "hsl": {
    "h": 286.939,
    "s": 71.707,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49246,
    "c": 0.21928,
    "h": 317.2
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#901DB0
secondary
#76CA5F
accent
#EE3961
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120713
muted
#817A82

Preview Lab

Preview with #901DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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