#901C7D#901C7D

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

Color values

HEX#901C7D
RGBrgb(144, 28, 125)
HSLhsl(310, 67%, 34%)
HSVhsv(310, 81%, 56%)
CMYKcmyk(0%, 80.6%, 13.2%, 43.5%)
CIE-LABlab(34.48, 56.27, -26.97)
CIE-LCHlch(34.48, 62.40, 334.40°)
OKLaboklab(45.93% 0.1652 -0.0736)
OKLCHoklch(45.93% 0.181 336)
XYZxyz(15.6188, 8.2419, 20.1663)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C7D #1C902F
analogous
#691C90 #901C7D #901C43
triadic
#901C7D #7D901C #1C7D90
tetradic
#901C7D #90691C #1C902F #1C4390
square
#901C7D #90691C #1C902F #1C4390
split-complementary
#901C7D #43901C #1C9069
monochromatic
#2A0824 #5D1251 #901C7D #C326A9 #DC4AC4

Accessibility & contrast

On white

7.93
#901C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C7D
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C7D#FFFFFF#000000##FFFFFF
##901C7D1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4680
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#98264C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901c7d;
/* rgb */ color: rgb(144, 28, 125);
/* oklch */ color: oklch(45.9% 0.181 336.0);
Tailwind
colors: {
  custom: {
    50: '#b467a3',
    500: '#901c7d',
    950: '#000000',
  },
}
SCSS
$custom: #901c7d;
$custom-light: #b467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901c7d",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 309.828,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45926,
    "c": 0.18086,
    "h": 336
  },
  "luminance": 0.0824
}

Semantic roles & 50–950 ramp

primary
#901C7D
secondary
#4ABE5D
accent
#EA5A3D
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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