#901EA7#901EA7

#901EA7 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.7% C 0.211 H 320.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#901EA7
RGBrgb(144, 30, 167)
HSLhsl(290, 70%, 39%)
HSVhsv(290, 82%, 65%)
CMYKcmyk(13.8%, 82%, 0%, 34.5%)
CIE-LABlab(37.20, 62.72, -48.35)
CIE-LCHlch(37.20, 79.19, 322.37°)
OKLaboklab(48.67% 0.1617 -0.1359)
OKLCHoklch(48.67% 0.211 320)
XYZxyz(18.9401, 9.6489, 37.4165)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901EA7 #35A71E
analogous
#4B1EA7 #901EA7 #A71E79
triadic
#901EA7 #A7901E #1EA790
tetradic
#901EA7 #A74B1E #35A71E #1E79A7
square
#901EA7 #A74B1E #35A71E #1E79A7
split-complementary
#901EA7 #79A71E #1EA74B
monochromatic
#370B3F #631573 #901EA7 #BB2AD9 #CC5DE2

Accessibility & contrast

On white

7.17
#901EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#901EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901EA7
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901EA7#FFFFFF#000000##FFFFFF
##901EA71.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AB
Deuteranopia (green-blind)
#2C5BA4
Tritanopia (blue-blind)
#903D64
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #901ea7;
/* rgb */ color: rgb(144, 30, 167);
/* oklch */ color: oklch(48.7% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#b56ac2',
    500: '#901ea7',
    950: '#000000',
  },
}
SCSS
$custom: #901ea7;
$custom-light: #b56ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#901ea7",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 289.927,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48672,
    "c": 0.21118,
    "h": 320
  },
  "luminance": 0.09648
}

Semantic roles & 50–950 ramp

primary
#901EA7
secondary
#6DC65B
accent
#EC3B59
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120712
muted
#817A81

Preview Lab

Preview with #901EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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