#901A8A#901A8A

#901A8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.192 H 330.5°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#901A8A
RGBrgb(144, 26, 138)
HSLhsl(303, 69%, 33%)
HSVhsv(303, 82%, 56%)
CMYKcmyk(0%, 81.9%, 4.2%, 43.5%)
CIE-LABlab(35.01, 58.81, -34.21)
CIE-LCHlch(35.01, 68.04, 329.81°)
OKLaboklab(46.54% 0.1671 -0.0945)
OKLCHoklch(46.54% 0.192 330.5)
XYZxyz(16.4584, 8.5044, 24.8145)
Luminance0.0850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A8A #1A9020
analogous
#5B1A90 #901A8A #901A4F
triadic
#901A8A #8A901A #1A8A90
tetradic
#901A8A #905B1A #1A9020 #1A4F90
square
#901A8A #905B1A #1A9020 #1A4F90
split-complementary
#901A8A #4F901A #1A905B
monochromatic
#280727 #5C1158 #901A8A #C423BC #DE47D6

Accessibility & contrast

On white

7.78
#901A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#901A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A8A
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A8A#FFFFFF#000000##FFFFFF
##901A8A1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04488D
Deuteranopia (green-blind)
#415887
Tritanopia (blue-blind)
#962C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901a8a;
/* rgb */ color: rgb(144, 26, 138);
/* oklch */ color: oklch(46.5% 0.192 330.5);
Tailwind
colors: {
  custom: {
    50: '#b467ac',
    500: '#901a8a',
    950: '#000000',
  },
}
SCSS
$custom: #901a8a;
$custom-light: #b467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901a8a",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 303.051,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.192,
    "h": 330.5
  },
  "luminance": 0.08503
}

Semantic roles & 50–950 ramp

primary
#901A8A
secondary
#47BF4D
accent
#EC453C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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