#901E8D#901E8D

#901E8D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.0% C 0.191 H 329.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#901E8D
RGBrgb(144, 30, 141)
HSLhsl(302, 66%, 34%)
HSVhsv(302, 79%, 56%)
CMYKcmyk(0%, 79.2%, 2.1%, 43.5%)
CIE-LABlab(35.56, 58.21, -35.19)
CIE-LCHlch(35.56, 68.02, 328.85°)
OKLaboklab(46.98% 0.164 -0.0974)
OKLCHoklch(46.98% 0.191 329.3)
XYZxyz(16.7735, 8.7822, 26.0058)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E8D #1E9021
analogous
#5A1E90 #901E8D #901E54
triadic
#901E8D #8D901E #1E8D90
tetradic
#901E8D #905A1E #1E9021 #1E5490
square
#901E8D #905A1E #1E9021 #1E5490
split-complementary
#901E8D #54901E #1E905A
monochromatic
#2B092A #5D135B #901E8D #C329BF #DA4ED6

Accessibility & contrast

On white

7.62
#901E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#901E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E8D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E8D#FFFFFF#000000##FFFFFF
##901E8D1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054A90
Deuteranopia (green-blind)
#41598A
Tritanopia (blue-blind)
#953055
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901e8d;
/* rgb */ color: rgb(144, 30, 141);
/* oklch */ color: oklch(47.0% 0.191 329.3);
Tailwind
colors: {
  custom: {
    50: '#b469af',
    500: '#901e8d',
    950: '#000000',
  },
}
SCSS
$custom: #901e8d;
$custom-light: #b469af;
$custom-dark: #000000;
JSON
{
  "hex": "#901e8d",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 141
  },
  "hsl": {
    "h": 301.579,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46983,
    "c": 0.1907,
    "h": 329.3
  },
  "luminance": 0.08781
}

Semantic roles & 50–950 ramp

primary
#901E8D
secondary
#4DBD50
accent
#E8443F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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