#901B8E#901B8E

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

Color values

HEX#901B8E
RGBrgb(144, 27, 142)
HSLhsl(301, 68%, 34%)
HSVhsv(301, 81%, 56%)
CMYKcmyk(0%, 81.3%, 1.4%, 43.5%)
CIE-LABlab(35.34, 59.19, -36.16)
CIE-LCHlch(35.34, 69.37, 328.58°)
OKLaboklab(46.84% 0.1663 -0.1002)
OKLCHoklch(46.84% 0.194 328.9)
XYZxyz(16.7759, 8.6675, 26.3754)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B8E #1B901D
analogous
#571B90 #901B8E #901B53
triadic
#901B8E #8E901B #1B8E90
tetradic
#901B8E #90571B #1B901D #1B5390
square
#901B8E #90571B #1B901D #1B5390
split-complementary
#901B8E #53901B #1B9057
monochromatic
#290828 #5C115B #901B8E #C425C1 #DD49DA

Accessibility & contrast

On white

7.68
#901B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901B8E
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B8E#FFFFFF#000000##FFFFFF
##901B8E1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901b8e;
/* rgb */ color: rgb(144, 27, 142);
/* oklch */ color: oklch(46.8% 0.194 328.9);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#901b8e',
    950: '#000000',
  },
}
SCSS
$custom: #901b8e;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#901b8e",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 301.026,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46842,
    "c": 0.19414,
    "h": 328.9
  },
  "luminance": 0.08666
}

Semantic roles & 50–950 ramp

primary
#901B8E
secondary
#48BF4A
accent
#EB403D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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