#901E8B#901E8B

#901E8B is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.9% C 0.189 H 330.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#901E8B
RGBrgb(144, 30, 139)
HSLhsl(303, 66%, 34%)
HSVhsv(303, 79%, 56%)
CMYKcmyk(0%, 79.2%, 3.5%, 43.5%)
CIE-LABlab(35.45, 57.88, -34.14)
CIE-LCHlch(35.45, 67.20, 329.47°)
OKLaboklab(46.86% 0.164 -0.0944)
OKLCHoklch(46.86% 0.189 330.1)
XYZxyz(16.6260, 8.7232, 25.2292)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E8B #1E9023
analogous
#5C1E90 #901E8B #901E52
triadic
#901E8B #8B901E #1E8B90
tetradic
#901E8B #905C1E #1E9023 #1E5290
square
#901E8B #905C1E #1E9023 #1E5290
split-complementary
#901E8B #52901E #1E905C
monochromatic
#2B0929 #5D135A #901E8B #C329BC #DA4ED4

Accessibility & contrast

On white

7.65
#901E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#901E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E8B
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E8B#FFFFFF#000000##FFFFFF
##901E8B1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4A8E
Deuteranopia (green-blind)
#425988
Tritanopia (blue-blind)
#962F54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901e8b;
/* rgb */ color: rgb(144, 30, 139);
/* oklch */ color: oklch(46.9% 0.189 330.1);
Tailwind
colors: {
  custom: {
    50: '#b468ad',
    500: '#901e8b',
    950: '#000000',
  },
}
SCSS
$custom: #901e8b;
$custom-light: #b468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901e8b",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 302.632,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46864,
    "c": 0.18919,
    "h": 330.1
  },
  "luminance": 0.08722
}

Semantic roles & 50–950 ramp

primary
#901E8B
secondary
#4DBD52
accent
#E8473F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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