#901D8A#901D8A

#901D8A is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.189 H 330.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#901D8A
RGBrgb(144, 29, 138)
HSLhsl(303, 66%, 34%)
HSVhsv(303, 80%, 56%)
CMYKcmyk(0%, 79.9%, 4.2%, 43.5%)
CIE-LABlab(35.29, 58.00, -33.77)
CIE-LCHlch(35.29, 67.12, 329.79°)
OKLaboklab(46.73% 0.1648 -0.0933)
OKLCHoklch(46.73% 0.189 330.5)
XYZxyz(16.5284, 8.6443, 24.8378)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D8A #1D9023
analogous
#5D1D90 #901D8A #901D51
triadic
#901D8A #8A901D #1D8A90
tetradic
#901D8A #905D1D #1D9023 #1D5190
square
#901D8A #905D1D #1D9023 #1D5190
split-complementary
#901D8A #51901D #1D905D
monochromatic
#2A0828 #5D1359 #901D8A #C327BB #DB4CD4

Accessibility & contrast

On white

7.70
#901D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901D8A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D8A#FFFFFF#000000##FFFFFF
##901D8A1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#962E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901d8a;
/* rgb */ color: rgb(144, 29, 138);
/* oklch */ color: oklch(46.7% 0.189 330.5);
Tailwind
colors: {
  custom: {
    50: '#b468ac',
    500: '#901d8a',
    950: '#000000',
  },
}
SCSS
$custom: #901d8a;
$custom-light: #b468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901d8a",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 303.13,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46734,
    "c": 0.18937,
    "h": 330.5
  },
  "luminance": 0.08643
}

Semantic roles & 50–950 ramp

primary
#901D8A
secondary
#4BBD51
accent
#E9473E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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