#901A8F#901A8F

#901A8F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.196 H 328.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#901A8F
RGBrgb(144, 26, 143)
HSLhsl(301, 69%, 33%)
HSVhsv(301, 82%, 56%)
CMYKcmyk(0%, 81.9%, 0.7%, 43.5%)
CIE-LABlab(35.31, 59.62, -36.83)
CIE-LCHlch(35.31, 70.07, 328.30°)
OKLaboklab(46.84% 0.167 -0.1021)
OKLCHoklch(46.84% 0.196 328.5)
XYZxyz(16.8288, 8.6525, 26.7650)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A8F #1A901B
analogous
#561A90 #901A8F #901A54
triadic
#901A8F #8F901A #1A8F90
tetradic
#901A8F #90561A #1A901B #1A5490
square
#901A8F #90561A #1A901B #1A5490
split-complementary
#901A8F #54901A #1A9056
monochromatic
#280728 #5C115C #901A8F #C423C2 #DE47DC

Accessibility & contrast

On white

7.69
#901A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#901A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A8F
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A8F#FFFFFF#000000##FFFFFF
##901A8F1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#952F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901a8f;
/* rgb */ color: rgb(144, 26, 143);
/* oklch */ color: oklch(46.8% 0.196 328.5);
Tailwind
colors: {
  custom: {
    50: '#b467b0',
    500: '#901a8f',
    950: '#000000',
  },
}
SCSS
$custom: #901a8f;
$custom-light: #b467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#901a8f",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 300.508,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4684,
    "c": 0.19573,
    "h": 328.5
  },
  "luminance": 0.08651
}

Semantic roles & 50–950 ramp

primary
#901A8F
secondary
#47BF48
accent
#EC3D3C
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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