#901A7F#901A7F

#901A7F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.184 H 335.1°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#901A7F
RGBrgb(144, 26, 127)
HSLhsl(309, 69%, 33%)
HSVhsv(309, 82%, 56%)
CMYKcmyk(0%, 81.9%, 11.8%, 43.5%)
CIE-LABlab(34.40, 57.11, -28.35)
CIE-LCHlch(34.40, 63.76, 333.60°)
OKLaboklab(45.9% 0.1669 -0.0776)
OKLCHoklch(45.9% 0.184 335.1)
XYZxyz(15.7020, 8.2018, 20.8307)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A7F #1A902B
analogous
#661A90 #901A7F #901A44
triadic
#901A7F #7F901A #1A7F90
tetradic
#901A7F #90661A #1A902B #1A4490
square
#901A7F #90661A #1A902B #1A4490
split-complementary
#901A7F #44901A #1A9066
monochromatic
#280724 #5C1151 #901A7F #C423AD #DE47C8

Accessibility & contrast

On white

7.95
#901A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A7F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A7F#FFFFFF#000000##FFFFFF
##901A7F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#97264C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901a7f;
/* rgb */ color: rgb(144, 26, 127);
/* oklch */ color: oklch(45.9% 0.184 335.1);
Tailwind
colors: {
  custom: {
    50: '#b467a4',
    500: '#901a7f',
    950: '#000000',
  },
}
SCSS
$custom: #901a7f;
$custom-light: #b467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#901a7f",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 308.644,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45901,
    "c": 0.18407,
    "h": 335.1
  },
  "luminance": 0.082
}

Semantic roles & 50–950 ramp

primary
#901A7F
secondary
#47BF58
accent
#EC553C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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