#901B8B#901B8B

#901B8B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.192 H 330.1°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#901B8B
RGBrgb(144, 27, 139)
HSLhsl(303, 68%, 34%)
HSVhsv(303, 81%, 56%)
CMYKcmyk(0%, 81.3%, 3.5%, 43.5%)
CIE-LABlab(35.16, 58.71, -34.60)
CIE-LCHlch(35.16, 68.14, 329.49°)
OKLaboklab(46.66% 0.1664 -0.0957)
OKLCHoklch(46.66% 0.192 330.1)
XYZxyz(16.5537, 8.5786, 25.2051)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B8B #1B9020
analogous
#5A1B90 #901B8B #901B50
triadic
#901B8B #8B901B #1B8B90
tetradic
#901B8B #905A1B #1B9020 #1B5090
square
#901B8B #905A1B #1B9020 #1B5090
split-complementary
#901B8B #50901B #1B905A
monochromatic
#290828 #5C1159 #901B8B #C425BD #DD49D6

Accessibility & contrast

On white

7.73
#901B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901B8B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B8B#FFFFFF#000000##FFFFFF
##901B8B1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901b8b;
/* rgb */ color: rgb(144, 27, 139);
/* oklch */ color: oklch(46.7% 0.192 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ad',
    500: '#901b8b',
    950: '#000000',
  },
}
SCSS
$custom: #901b8b;
$custom-light: #b467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901b8b",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 302.564,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4666,
    "c": 0.19189,
    "h": 330.1
  },
  "luminance": 0.08577
}

Semantic roles & 50–950 ramp

primary
#901B8B
secondary
#48BF4D
accent
#EB443D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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