#901B87#901B87

#901B87 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.189 H 331.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#901B87
RGBrgb(144, 27, 135)
HSLhsl(305, 68%, 34%)
HSVhsv(305, 81%, 56%)
CMYKcmyk(0%, 81.3%, 6.2%, 43.5%)
CIE-LABlab(34.93, 58.07, -32.49)
CIE-LCHlch(34.93, 66.54, 330.78°)
OKLaboklab(46.42% 0.1664 -0.0895)
OKLCHoklch(46.42% 0.189 331.7)
XYZxyz(16.2667, 8.4638, 23.6939)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B87 #1B9024
analogous
#5E1B90 #901B87 #901B4C
triadic
#901B87 #87901B #1B8790
tetradic
#901B87 #905E1B #1B9024 #1B4C90
square
#901B87 #905E1B #1B9024 #1B4C90
split-complementary
#901B87 #4C901B #1B905E
monochromatic
#290826 #5C1157 #901B87 #C425B7 #DD49D1

Accessibility & contrast

On white

7.80
#901B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#901B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901B87
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B87#FFFFFF#000000##FFFFFF
##901B871.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E488A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#962B51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901b87;
/* rgb */ color: rgb(144, 27, 135);
/* oklch */ color: oklch(46.4% 0.189 331.7);
Tailwind
colors: {
  custom: {
    50: '#b467aa',
    500: '#901b87',
    950: '#000000',
  },
}
SCSS
$custom: #901b87;
$custom-light: #b467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901b87",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 304.615,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.46423,
    "c": 0.18893,
    "h": 331.7
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#901B87
secondary
#48BF51
accent
#EB4A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901B87

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

Preview Lab → · Contrast checker → · Palette generator →

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