#901A7D#901A7D

#901A7D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.183 H 335.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#901A7D
RGBrgb(144, 26, 125)
HSLhsl(310, 69%, 33%)
HSVhsv(310, 82%, 56%)
CMYKcmyk(0%, 81.9%, 13.2%, 43.5%)
CIE-LABlab(34.29, 56.82, -27.26)
CIE-LCHlch(34.29, 63.02, 334.37°)
OKLaboklab(45.79% 0.1668 -0.0745)
OKLCHoklch(45.79% 0.183 335.9)
XYZxyz(15.5729, 8.1502, 20.1511)
Luminance0.0815 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7D #1A902D
analogous
#681A90 #901A7D #901A42
triadic
#901A7D #7D901A #1A7D90
tetradic
#901A7D #90681A #1A902D #1A4290
square
#901A7D #90681A #1A902D #1A4290
split-complementary
#901A7D #42901A #1A9068
monochromatic
#280723 #5C1150 #901A7D #C423AA #DE47C5

Accessibility & contrast

On white

7.99
#901A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A7D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7D#FFFFFF#000000##FFFFFF
##901A7D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#98244B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901a7d;
/* rgb */ color: rgb(144, 26, 125);
/* oklch */ color: oklch(45.8% 0.183 335.9);
Tailwind
colors: {
  custom: {
    50: '#b466a3',
    500: '#901a7d',
    950: '#000000',
  },
}
SCSS
$custom: #901a7d;
$custom-light: #b466a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7d",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 309.661,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45791,
    "c": 0.18267,
    "h": 335.9
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#901A7D
secondary
#47BF5A
accent
#EC583C
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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