#901C7F#901C7F

#901C7F is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.182 H 335.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#901C7F
RGBrgb(144, 28, 127)
HSLhsl(309, 67%, 34%)
HSVhsv(309, 81%, 56%)
CMYKcmyk(0%, 80.6%, 11.8%, 43.5%)
CIE-LABlab(34.59, 56.57, -28.05)
CIE-LCHlch(34.59, 63.14, 333.63°)
OKLaboklab(46.04% 0.1653 -0.0767)
OKLCHoklch(46.04% 0.182 335.1)
XYZxyz(15.7478, 8.2936, 20.8460)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C7F #1C902D
analogous
#671C90 #901C7F #901C45
triadic
#901C7F #7F901C #1C7F90
tetradic
#901C7F #90671C #1C902D #1C4590
square
#901C7F #90671C #1C902D #1C4590
split-complementary
#901C7F #45901C #1C9067
monochromatic
#2A0825 #5D1252 #901C7F #C326AC #DC4AC7

Accessibility & contrast

On white

7.90
#901C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901C7F
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C7F#FFFFFF#000000##FFFFFF
##901C7F1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4682
Deuteranopia (green-blind)
#48577C
Tritanopia (blue-blind)
#97274D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c7f;
/* rgb */ color: rgb(144, 28, 127);
/* oklch */ color: oklch(46.0% 0.182 335.1);
Tailwind
colors: {
  custom: {
    50: '#b467a4',
    500: '#901c7f',
    950: '#000000',
  },
}
SCSS
$custom: #901c7f;
$custom-light: #b467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#901c7f",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 308.793,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.18227,
    "h": 335.1
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#901C7F
secondary
#4ABE5B
accent
#EA573D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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