#901A8E#901A8E

#901A8E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.8% C 0.195 H 328.9°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#901A8E
RGBrgb(144, 26, 142)
HSLhsl(301, 69%, 33%)
HSVhsv(301, 82%, 56%)
CMYKcmyk(0%, 81.9%, 1.4%, 43.5%)
CIE-LABlab(35.25, 59.45, -36.31)
CIE-LCHlch(35.25, 69.66, 328.59°)
OKLaboklab(46.78% 0.167 -0.1006)
OKLCHoklch(46.78% 0.195 328.9)
XYZxyz(16.7533, 8.6224, 26.3679)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A8E #1A901C
analogous
#571A90 #901A8E #901A53
triadic
#901A8E #8E901A #1A8E90
tetradic
#901A8E #90571A #1A901C #1A5390
square
#901A8E #90571A #1A901C #1A5390
split-complementary
#901A8E #53901A #1A9057
monochromatic
#280728 #5C115B #901A8E #C423C1 #DE47DB

Accessibility & contrast

On white

7.71
#901A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901A8E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A8E#FFFFFF#000000##FFFFFF
##901A8E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3F588B
Tritanopia (blue-blind)
#952E55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901a8e;
/* rgb */ color: rgb(144, 26, 142);
/* oklch */ color: oklch(46.8% 0.195 328.9);
Tailwind
colors: {
  custom: {
    50: '#b467af',
    500: '#901a8e',
    950: '#000000',
  },
}
SCSS
$custom: #901a8e;
$custom-light: #b467af;
$custom-dark: #000000;
JSON
{
  "hex": "#901a8e",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 301.017,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.19498,
    "h": 328.9
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#901A8E
secondary
#47BF49
accent
#EC3F3C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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