#901E7F#901E7F

#901E7F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.180 H 335.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#901E7F
RGBrgb(144, 30, 127)
HSLhsl(309, 66%, 34%)
HSVhsv(309, 79%, 56%)
CMYKcmyk(0%, 79.2%, 11.8%, 43.5%)
CIE-LABlab(34.79, 56.00, -27.74)
CIE-LCHlch(34.79, 62.49, 333.65°)
OKLaboklab(46.18% 0.1636 -0.0759)
OKLCHoklch(46.18% 0.18 335.1)
XYZxyz(15.7969, 8.3916, 20.8623)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E7F #1E902F
analogous
#681E90 #901E7F #901E46
triadic
#901E7F #7F901E #1E7F90
tetradic
#901E7F #90681E #1E902F #1E4690
square
#901E7F #90681E #1E902F #1E4690
split-complementary
#901E7F #46901E #1E9068
monochromatic
#2B0926 #5D1352 #901E7F #C329AC #DA4EC5

Accessibility & contrast

On white

7.84
#901E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#901E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E7F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E7F#FFFFFF#000000##FFFFFF
##901E7F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4782
Deuteranopia (green-blind)
#48587C
Tritanopia (blue-blind)
#97284D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901e7f;
/* rgb */ color: rgb(144, 30, 127);
/* oklch */ color: oklch(46.2% 0.180 335.1);
Tailwind
colors: {
  custom: {
    50: '#b468a4',
    500: '#901e7f',
    950: '#000000',
  },
}
SCSS
$custom: #901e7f;
$custom-light: #b468a4;
$custom-dark: #000000;
JSON
{
  "hex": "#901e7f",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 308.947,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.46178,
    "c": 0.18035,
    "h": 335.1
  },
  "luminance": 0.0839
}

Semantic roles & 50–950 ramp

primary
#901E7F
secondary
#4DBD5E
accent
#E8593F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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