#901D8D#901D8D

#901D8D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.192 H 329.3°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#901D8D
RGBrgb(144, 29, 141)
HSLhsl(302, 66%, 34%)
HSVhsv(302, 80%, 56%)
CMYKcmyk(0%, 79.9%, 2.1%, 43.5%)
CIE-LABlab(35.46, 58.49, -35.34)
CIE-LCHlch(35.46, 68.34, 328.86°)
OKLaboklab(46.91% 0.1648 -0.0979)
OKLCHoklch(46.91% 0.192 329.3)
XYZxyz(16.7486, 8.7324, 25.9975)
Luminance0.0873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D8D #1D9020
analogous
#5A1D90 #901D8D #901D54
triadic
#901D8D #8D901D #1D8D90
tetradic
#901D8D #905A1D #1D9020 #1D5490
square
#901D8D #905A1D #1D9020 #1D5490
split-complementary
#901D8D #54901D #1D905A
monochromatic
#2A0829 #5D135B #901D8D #C327BF #DB4CD7

Accessibility & contrast

On white

7.65
#901D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#901D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D8D
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D8D#FFFFFF#000000##FFFFFF
##901D8D1.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#952F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901d8d;
/* rgb */ color: rgb(144, 29, 141);
/* oklch */ color: oklch(46.9% 0.192 329.3);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#901d8d',
    950: '#000000',
  },
}
SCSS
$custom: #901d8d;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#901d8d",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 301.565,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.19163,
    "h": 329.3
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#901D8D
secondary
#4BBD4E
accent
#E9433E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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