#901C78#901C78

#901C78 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.7% C 0.177 H 338.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#901C78
RGBrgb(144, 28, 120)
HSLhsl(312, 67%, 34%)
HSVhsv(312, 81%, 56%)
CMYKcmyk(0%, 80.6%, 16.7%, 43.5%)
CIE-LABlab(34.23, 55.54, -24.23)
CIE-LCHlch(34.23, 60.60, 336.43°)
OKLaboklab(45.66% 0.1648 -0.0658)
OKLCHoklch(45.66% 0.177 338.2)
XYZxyz(15.3074, 8.1174, 18.5263)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C78 #1C9034
analogous
#6E1C90 #901C78 #901C3E
triadic
#901C78 #78901C #1C7890
tetradic
#901C78 #906E1C #1C9034 #1C3E90
square
#901C78 #906E1C #1C9034 #1C3E90
split-complementary
#901C78 #3E901C #1C906E
monochromatic
#2A0823 #5D124D #901C78 #C326A3 #DC4ABE

Accessibility & contrast

On white

8.01
#901C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#901C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C78
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C78#FFFFFF#000000##FFFFFF
##901C781.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#4B5775
Tritanopia (blue-blind)
#982349
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901c78;
/* rgb */ color: rgb(144, 28, 120);
/* oklch */ color: oklch(45.7% 0.177 338.2);
Tailwind
colors: {
  custom: {
    50: '#b4679f',
    500: '#901c78',
    950: '#000000',
  },
}
SCSS
$custom: #901c78;
$custom-light: #b4679f;
$custom-dark: #000000;
JSON
{
  "hex": "#901c78",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 120
  },
  "hsl": {
    "h": 312.414,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45659,
    "c": 0.17741,
    "h": 338.2
  },
  "luminance": 0.08116
}

Semantic roles & 50–950 ramp

primary
#901C78
secondary
#4ABE62
accent
#EA613D
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901C78

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

Preview Lab → · Contrast checker → · Palette generator →

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