#901A7E#901A7E

#901A7E is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.183 H 335.5°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#901A7E
RGBrgb(144, 26, 126)
HSLhsl(309, 69%, 33%)
HSVhsv(309, 82%, 56%)
CMYKcmyk(0%, 81.9%, 12.5%, 43.5%)
CIE-LABlab(34.35, 56.96, -27.80)
CIE-LCHlch(34.35, 63.39, 333.98°)
OKLaboklab(45.85% 0.1669 -0.076)
OKLCHoklch(45.85% 0.183 335.5)
XYZxyz(15.6371, 8.1759, 20.4892)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7E #1A902C
analogous
#671A90 #901A7E #901A43
triadic
#901A7E #7E901A #1A7E90
tetradic
#901A7E #90671A #1A902C #1A4390
square
#901A7E #90671A #1A902C #1A4390
split-complementary
#901A7E #43901A #1A9067
monochromatic
#280723 #5C1151 #901A7E #C423AB #DE47C7

Accessibility & contrast

On white

7.97
#901A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A7E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7E#FFFFFF#000000##FFFFFF
##901A7E1.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4681
Deuteranopia (green-blind)
#47577B
Tritanopia (blue-blind)
#98254C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901a7e;
/* rgb */ color: rgb(144, 26, 126);
/* oklch */ color: oklch(45.8% 0.183 335.5);
Tailwind
colors: {
  custom: {
    50: '#b467a3',
    500: '#901a7e',
    950: '#000000',
  },
}
SCSS
$custom: #901a7e;
$custom-light: #b467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7e",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 309.153,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.18337,
    "h": 335.5
  },
  "luminance": 0.08174
}

Semantic roles & 50–950 ramp

primary
#901A7E
secondary
#47BF59
accent
#EC573C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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