#901E8C#901E8C

#901E8C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.190 H 329.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#901E8C
RGBrgb(144, 30, 140)
HSLhsl(302, 66%, 34%)
HSVhsv(302, 79%, 56%)
CMYKcmyk(0%, 79.2%, 2.8%, 43.5%)
CIE-LABlab(35.50, 58.04, -34.67)
CIE-LCHlch(35.50, 67.61, 329.15°)
OKLaboklab(46.92% 0.164 -0.0959)
OKLCHoklch(46.92% 0.19 329.7)
XYZxyz(16.6994, 8.7526, 25.6157)
Luminance0.0875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E8C #1E9022
analogous
#5B1E90 #901E8C #901E53
triadic
#901E8C #8C901E #1E8C90
tetradic
#901E8C #905B1E #1E9022 #1E5390
square
#901E8C #905B1E #1E9022 #1E5390
split-complementary
#901E8C #53901E #1E905B
monochromatic
#2B092A #5D135B #901E8C #C329BD #DA4ED5

Accessibility & contrast

On white

7.64
#901E8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#901E8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E8C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E8C#FFFFFF#000000##FFFFFF
##901E8C1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084A8F
Deuteranopia (green-blind)
#425989
Tritanopia (blue-blind)
#952F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901e8c;
/* rgb */ color: rgb(144, 30, 140);
/* oklch */ color: oklch(46.9% 0.190 329.7);
Tailwind
colors: {
  custom: {
    50: '#b469ae',
    500: '#901e8c',
    950: '#000000',
  },
}
SCSS
$custom: #901e8c;
$custom-light: #b469ae;
$custom-dark: #000000;
JSON
{
  "hex": "#901e8c",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 140
  },
  "hsl": {
    "h": 302.105,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46923,
    "c": 0.18995,
    "h": 329.7
  },
  "luminance": 0.08751
}

Semantic roles & 50–950 ramp

primary
#901E8C
secondary
#4DBD51
accent
#E8453F
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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