#901D8E#901D8E

#901D8E is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.192 H 328.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#901D8E
RGBrgb(144, 29, 142)
HSLhsl(301, 66%, 34%)
HSVhsv(301, 80%, 56%)
CMYKcmyk(0%, 79.9%, 1.4%, 43.5%)
CIE-LABlab(35.52, 58.65, -35.87)
CIE-LCHlch(35.52, 68.75, 328.55°)
OKLaboklab(46.97% 0.1647 -0.0994)
OKLCHoklch(46.97% 0.192 328.9)
XYZxyz(16.8233, 8.7623, 26.3912)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D8E #1D901F
analogous
#591D90 #901D8E #901D55
triadic
#901D8E #8E901D #1D8E90
tetradic
#901D8E #90591D #1D901F #1D5590
square
#901D8E #90591D #1D901F #1D5590
split-complementary
#901D8E #55901D #1D9059
monochromatic
#2A082A #5D135C #901D8E #C327C0 #DB4CD9

Accessibility & contrast

On white

7.63
#901D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901D8E
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D8E#FFFFFF#000000##FFFFFF
##901D8E1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A91
Deuteranopia (green-blind)
#40598B
Tritanopia (blue-blind)
#953056
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901d8e;
/* rgb */ color: rgb(144, 29, 142);
/* oklch */ color: oklch(47.0% 0.192 328.9);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#901d8e',
    950: '#000000',
  },
}
SCSS
$custom: #901d8e;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#901d8e",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 301.043,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46974,
    "c": 0.19238,
    "h": 328.9
  },
  "luminance": 0.08761
}

Semantic roles & 50–950 ramp

primary
#901D8E
secondary
#4BBD4D
accent
#E9413E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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