#901DB3#901DB3

#901DB3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.5% C 0.222 H 316.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#901DB3
RGBrgb(144, 29, 179)
HSLhsl(286, 72%, 41%)
HSVhsv(286, 84%, 70%)
CMYKcmyk(19.6%, 83.8%, 0%, 29.8%)
CIE-LABlab(37.96, 65.20, -54.30)
CIE-LCHlch(37.96, 84.85, 320.21°)
OKLaboklab(49.47% 0.1602 -0.1533)
OKLCHoklch(49.47% 0.222 316.3)
XYZxyz(20.0764, 10.0635, 43.5240)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901DB3 #40B31D
analogous
#451DB3 #901DB3 #B31D8B
triadic
#901DB3 #B3901D #1DB390
tetradic
#901DB3 #B3451D #40B31D #1D8BB3
square
#901DB3 #B3451D #40B31D #1D8BB3
split-complementary
#901DB3 #8BB31D #1DB345
monochromatic
#3B0C4A #66147E #901DB3 #B530DD #C864E6

Accessibility & contrast

On white

6.97
#901DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#901DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901DB3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901DB3#FFFFFF#000000##FFFFFF
##901DB31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#1A5CB0
Tritanopia (blue-blind)
#8E436B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #901db3;
/* rgb */ color: rgb(144, 29, 179);
/* oklch */ color: oklch(49.5% 0.222 316.3);
Tailwind
colors: {
  custom: {
    50: '#b56acb',
    500: '#901db3',
    950: '#000000',
  },
}
SCSS
$custom: #901db3;
$custom-light: #b56acb;
$custom-dark: #000000;
JSON
{
  "hex": "#901db3",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 179
  },
  "hsl": {
    "h": 286,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.22172,
    "h": 316.3
  },
  "luminance": 0.10063
}

Semantic roles & 50–950 ramp

primary
#901DB3
secondary
#7ACB61
accent
#EF3963
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120713
muted
#817A82

Preview Lab

Preview with #901DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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