#901D9A#901D9A

#901D9A is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.202 H 324.4°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#901D9A
RGBrgb(144, 29, 154)
HSLhsl(295, 68%, 36%)
HSVhsv(295, 81%, 60%)
CMYKcmyk(6.5%, 81.2%, 0%, 39.6%)
CIE-LABlab(36.26, 60.68, -42.03)
CIE-LCHlch(36.26, 73.81, 325.29°)
OKLaboklab(47.73% 0.164 -0.1173)
OKLCHoklch(47.73% 0.202 324.4)
XYZxyz(17.7732, 9.1423, 31.3941)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D9A #279A1D
analogous
#511D9A #901D9A #9A1D65
triadic
#901D9A #9A901D #1D9A90
tetradic
#901D9A #9A511D #279A1D #1D659A
square
#901D9A #9A511D #279A1D #1D659A
split-complementary
#901D9A #659A1D #1D9A51
monochromatic
#300A33 #601366 #901D9A #C027CE #D353DF

Accessibility & contrast

On white

7.43
#901D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#901D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D9A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D9A#FFFFFF#000000##FFFFFF
##901D9A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9D
Deuteranopia (green-blind)
#385A97
Tritanopia (blue-blind)
#93365C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #901d9a;
/* rgb */ color: rgb(144, 29, 154);
/* oklch */ color: oklch(47.7% 0.202 324.4);
Tailwind
colors: {
  custom: {
    50: '#b469b8',
    500: '#901d9a',
    950: '#000000',
  },
}
SCSS
$custom: #901d9a;
$custom-light: #b469b8;
$custom-dark: #000000;
JSON
{
  "hex": "#901d9a",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 295.2,
    "s": 68.306,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47731,
    "c": 0.20166,
    "h": 324.4
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#901D9A
secondary
#5AC251
accent
#EB3D4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #901D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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