#901E8A#901E8A

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

Color values

HEX#901E8A
RGBrgb(144, 30, 138)
HSLhsl(303, 66%, 34%)
HSVhsv(303, 79%, 56%)
CMYKcmyk(0%, 79.2%, 4.2%, 43.5%)
CIE-LABlab(35.39, 57.72, -33.62)
CIE-LCHlch(35.39, 66.80, 329.78°)
OKLaboklab(46.8% 0.164 -0.0928)
OKLCHoklch(46.8% 0.188 330.5)
XYZxyz(16.5533, 8.6942, 24.8461)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E8A #1E9024
analogous
#5D1E90 #901E8A #901E51
triadic
#901E8A #8A901E #1E8A90
tetradic
#901E8A #905D1E #1E9024 #1E5190
square
#901E8A #905D1E #1E9024 #1E5190
split-complementary
#901E8A #51901E #1E905D
monochromatic
#2B0929 #5D1359 #901E8A #C329BB #DA4ED3

Accessibility & contrast

On white

7.67
#901E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901E8A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E8A#FFFFFF#000000##FFFFFF
##901E8A1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#435987
Tritanopia (blue-blind)
#962E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901e8a;
/* rgb */ color: rgb(144, 30, 138);
/* oklch */ color: oklch(46.8% 0.188 330.5);
Tailwind
colors: {
  custom: {
    50: '#b468ac',
    500: '#901e8a',
    950: '#000000',
  },
}
SCSS
$custom: #901e8a;
$custom-light: #b468ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901e8a",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 138
  },
  "hsl": {
    "h": 303.158,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46804,
    "c": 0.18844,
    "h": 330.5
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#901E8A
secondary
#4DBD53
accent
#E8483F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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