#901B8A#901B8A

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

Color values

HEX#901B8A
RGBrgb(144, 27, 138)
HSLhsl(303, 68%, 34%)
HSVhsv(303, 81%, 56%)
CMYKcmyk(0%, 81.3%, 4.2%, 43.5%)
CIE-LABlab(35.10, 58.55, -34.07)
CIE-LCHlch(35.10, 67.74, 329.80°)
OKLaboklab(46.6% 0.1664 -0.0941)
OKLCHoklch(46.6% 0.191 330.5)
XYZxyz(16.4809, 8.5495, 24.8220)
Luminance0.0855 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B8A #1B9021
analogous
#5B1B90 #901B8A #901B4F
triadic
#901B8A #8A901B #1B8A90
tetradic
#901B8A #905B1B #1B9021 #1B4F90
square
#901B8A #905B1B #1B9021 #1B4F90
split-complementary
#901B8A #4F901B #1B905B
monochromatic
#290827 #5C1159 #901B8A #C425BB #DD49D5

Accessibility & contrast

On white

7.75
#901B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901B8A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B8A#FFFFFF#000000##FFFFFF
##901B8A1.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498D
Deuteranopia (green-blind)
#425887
Tritanopia (blue-blind)
#962D53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901b8a;
/* rgb */ color: rgb(144, 27, 138);
/* oklch */ color: oklch(46.6% 0.191 330.5);
Tailwind
colors: {
  custom: {
    50: '#b467ac',
    500: '#901b8a',
    950: '#000000',
  },
}
SCSS
$custom: #901b8a;
$custom-light: #b467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901b8a",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 138
  },
  "hsl": {
    "h": 303.077,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.466,
    "c": 0.19115,
    "h": 330.5
  },
  "luminance": 0.08548
}

Semantic roles & 50–950 ramp

primary
#901B8A
secondary
#48BF4E
accent
#EB453D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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