#901DBB#901DBB

#901DBB is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 50.1% C 0.228 H 313.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#901DBB
RGBrgb(144, 29, 187)
HSLhsl(284, 73%, 42%)
HSVhsv(284, 84%, 73%)
CMYKcmyk(23%, 84.5%, 0%, 26.7%)
CIE-LABlab(38.55, 66.73, -58.08)
CIE-LCHlch(38.55, 88.46, 318.96°)
OKLaboklab(50.06% 0.1584 -0.1644)
OKLCHoklch(50.06% 0.228 313.9)
XYZxyz(20.9090, 10.3966, 47.9094)
Luminance0.1040 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901DBB #48BB1D
analogous
#411DBB #901DBB #BB1D97
triadic
#901DBB #BB901D #1DBB90
tetradic
#901DBB #BB411D #48BB1D #1D97BB
square
#901DBB #BB411D #48BB1D #1D97BB
split-complementary
#901DBB #97BB1D #1DBB41
monochromatic
#3E0D51 #671586 #901DBB #B135E0 #C66AE8

Accessibility & contrast

On white

6.82
#901DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#901DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #901DBB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901DBB#FFFFFF#000000##FFFFFF
##901DBB1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#005DB8
Tritanopia (blue-blind)
#8C4770
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #901dbb;
/* rgb */ color: rgb(144, 29, 187);
/* oklch */ color: oklch(50.1% 0.228 313.9);
Tailwind
colors: {
  custom: {
    50: '#b66bd0',
    500: '#901dbb',
    950: '#000000',
  },
}
SCSS
$custom: #901dbb;
$custom-light: #b66bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#901dbb",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 283.671,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5006,
    "c": 0.22829,
    "h": 313.9
  },
  "luminance": 0.10396
}

Semantic roles & 50–950 ramp

primary
#901DBB
secondary
#82CE66
accent
#F0386A
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120814
muted
#817A82

Preview Lab

Preview with #901DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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