#901E8F#901E8F

#901E8F is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.192 H 328.5°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#901E8F
RGBrgb(144, 30, 143)
HSLhsl(301, 66%, 34%)
HSVhsv(301, 79%, 56%)
CMYKcmyk(0%, 79.2%, 0.7%, 43.5%)
CIE-LABlab(35.68, 58.54, -36.23)
CIE-LCHlch(35.68, 68.84, 328.24°)
OKLaboklab(47.11% 0.1639 -0.1004)
OKLCHoklch(47.11% 0.192 328.5)
XYZxyz(16.9236, 8.8423, 26.7967)
Luminance0.0884 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901E8F #1E901F
analogous
#581E90 #901E8F #901E56
triadic
#901E8F #8F901E #1E8F90
tetradic
#901E8F #90581E #1E901F #1E5690
square
#901E8F #90581E #1E901F #1E5690
split-complementary
#901E8F #56901E #1E9058
monochromatic
#2B092A #5D135D #901E8F #C329C1 #DA4ED9

Accessibility & contrast

On white

7.59
#901E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#901E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901E8F
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901E8F#FFFFFF#000000##FFFFFF
##901E8F1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#40598C
Tritanopia (blue-blind)
#953156
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901e8f;
/* rgb */ color: rgb(144, 30, 143);
/* oklch */ color: oklch(47.1% 0.192 328.5);
Tailwind
colors: {
  custom: {
    50: '#b469b0',
    500: '#901e8f',
    950: '#000000',
  },
}
SCSS
$custom: #901e8f;
$custom-light: #b469b0;
$custom-dark: #000000;
JSON
{
  "hex": "#901e8f",
  "rgb": {
    "r": 144,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 300.526,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.19223,
    "h": 328.5
  },
  "luminance": 0.08841
}

Semantic roles & 50–950 ramp

primary
#901E8F
secondary
#4DBD4E
accent
#E8413F
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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