#901D7E#901D7E

#901D7E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.181 H 335.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#901D7E
RGBrgb(144, 29, 126)
HSLhsl(309, 66%, 34%)
HSVhsv(309, 80%, 56%)
CMYKcmyk(0%, 79.9%, 12.5%, 43.5%)
CIE-LABlab(34.63, 56.14, -27.36)
CIE-LCHlch(34.63, 62.45, 334.02°)
OKLaboklab(46.05% 0.1644 -0.0748)
OKLCHoklch(46.05% 0.181 335.5)
XYZxyz(15.7071, 8.3158, 20.5125)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D7E #1D902F
analogous
#691D90 #901D7E #901D45
triadic
#901D7E #7E901D #1D7E90
tetradic
#901D7E #90691D #1D902F #1D4590
square
#901D7E #90691D #1D902F #1D4590
split-complementary
#901D7E #45901D #1D9069
monochromatic
#2A0825 #5D1351 #901D7E #C327AB #DB4CC5

Accessibility & contrast

On white

7.89
#901D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#901D7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D7E
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D7E#FFFFFF#000000##FFFFFF
##901D7E1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4781
Deuteranopia (green-blind)
#48577B
Tritanopia (blue-blind)
#98274C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901d7e;
/* rgb */ color: rgb(144, 29, 126);
/* oklch */ color: oklch(46.1% 0.181 335.5);
Tailwind
colors: {
  custom: {
    50: '#b468a3',
    500: '#901d7e',
    950: '#000000',
  },
}
SCSS
$custom: #901d7e;
$custom-light: #b468a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901d7e",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 126
  },
  "hsl": {
    "h": 309.391,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.46051,
    "c": 0.18062,
    "h": 335.5
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#901D7E
secondary
#4BBD5D
accent
#E9593E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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