#901A8B#901A8B

#901A8B is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.193 H 330.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#901A8B
RGBrgb(144, 26, 139)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 81.9%, 3.5%, 43.5%)
CIE-LABlab(35.07, 58.97, -34.74)
CIE-LCHlch(35.07, 68.44, 329.50°)
OKLaboklab(46.6% 0.1671 -0.0961)
OKLCHoklch(46.6% 0.193 330.1)
XYZxyz(16.5311, 8.5335, 25.1976)
Luminance0.0853 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A8B #1A901F
analogous
#5A1A90 #901A8B #901A50
triadic
#901A8B #8B901A #1A8B90
tetradic
#901A8B #905A1A #1A901F #1A5090
square
#901A8B #905A1A #1A901F #1A5090
split-complementary
#901A8B #50901A #1A905A
monochromatic
#280727 #5C1159 #901A8B #C423BD #DE47D7

Accessibility & contrast

On white

7.76
#901A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#901A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A8B
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A8B#FFFFFF#000000##FFFFFF
##901A8B1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01488E
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#962D53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901a8b;
/* rgb */ color: rgb(144, 26, 139);
/* oklch */ color: oklch(46.6% 0.193 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ad',
    500: '#901a8b',
    950: '#000000',
  },
}
SCSS
$custom: #901a8b;
$custom-light: #b467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901a8b",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 302.542,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46596,
    "c": 0.19275,
    "h": 330.1
  },
  "luminance": 0.08532
}

Semantic roles & 50–950 ramp

primary
#901A8B
secondary
#47BF4C
accent
#EC433C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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