#901A8D#901A8D

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

Color values

HEX#901A8D
RGBrgb(144, 26, 141)
HSLhsl(302, 69%, 33%)
HSVhsv(302, 82%, 56%)
CMYKcmyk(0%, 81.9%, 2.1%, 43.5%)
CIE-LABlab(35.19, 59.29, -35.78)
CIE-LCHlch(35.19, 69.25, 328.89°)
OKLaboklab(46.72% 0.167 -0.0991)
OKLCHoklch(46.72% 0.194 329.3)
XYZxyz(16.6786, 8.5925, 25.9742)
Luminance0.0859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A8D #1A901D
analogous
#581A90 #901A8D #901A52
triadic
#901A8D #8D901A #1A8D90
tetradic
#901A8D #90581A #1A901D #1A5290
square
#901A8D #90581A #1A901D #1A5290
split-complementary
#901A8D #52901A #1A9058
monochromatic
#280727 #5C115A #901A8D #C423C0 #DE47DA

Accessibility & contrast

On white

7.73
#901A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#901A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A8D
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A8D#FFFFFF#000000##FFFFFF
##901A8D1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#952E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901a8d;
/* rgb */ color: rgb(144, 26, 141);
/* oklch */ color: oklch(46.7% 0.194 329.3);
Tailwind
colors: {
  custom: {
    50: '#b467af',
    500: '#901a8d',
    950: '#000000',
  },
}
SCSS
$custom: #901a8d;
$custom-light: #b467af;
$custom-dark: #000000;
JSON
{
  "hex": "#901a8d",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 301.525,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46717,
    "c": 0.19423,
    "h": 329.3
  },
  "luminance": 0.08591
}

Semantic roles & 50–950 ramp

primary
#901A8D
secondary
#47BF4A
accent
#EC403C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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