#901D8F#901D8F

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

Color values

HEX#901D8F
RGBrgb(144, 29, 143)
HSLhsl(301, 66%, 34%)
HSVhsv(301, 80%, 56%)
CMYKcmyk(0%, 79.9%, 0.7%, 43.5%)
CIE-LABlab(35.58, 58.82, -36.39)
CIE-LCHlch(35.58, 69.16, 328.26°)
OKLaboklab(47.04% 0.1647 -0.1009)
OKLCHoklch(47.04% 0.193 328.5)
XYZxyz(16.8987, 8.7925, 26.7884)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D8F #1D901E
analogous
#581D90 #901D8F #901D56
triadic
#901D8F #8F901D #1D8F90
tetradic
#901D8F #90581D #1D901E #1D5690
square
#901D8F #90581D #1D901E #1D5690
split-complementary
#901D8F #56901D #1D9058
monochromatic
#2A082A #5D135C #901D8F #C327C2 #DB4CDA

Accessibility & contrast

On white

7.61
#901D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901D8F
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D8F#FFFFFF#000000##FFFFFF
##901D8F1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#953056
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901d8f;
/* rgb */ color: rgb(144, 29, 143);
/* oklch */ color: oklch(47.0% 0.193 328.5);
Tailwind
colors: {
  custom: {
    50: '#b468b0',
    500: '#901d8f',
    950: '#000000',
  },
}
SCSS
$custom: #901d8f;
$custom-light: #b468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#901d8f",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 300.522,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47035,
    "c": 0.19314,
    "h": 328.5
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#901D8F
secondary
#4BBD4C
accent
#E9403E
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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