#901F78#901F78

#901F78 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.174 H 338.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#901F78
RGBrgb(144, 31, 120)
HSLhsl(313, 65%, 34%)
HSVhsv(313, 78%, 56%)
CMYKcmyk(0%, 78.5%, 16.7%, 43.5%)
CIE-LABlab(34.53, 54.66, -23.75)
CIE-LCHlch(34.53, 59.60, 336.52°)
OKLaboklab(45.88% 0.1621 -0.0645)
OKLCHoklch(45.88% 0.174 338.3)
XYZxyz(15.3821, 8.2668, 18.5512)
Luminance0.0827 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F78 #1F9037
analogous
#701F90 #901F78 #901F40
triadic
#901F78 #78901F #1F7890
tetradic
#901F78 #90701F #1F9037 #1F4090
square
#901F78 #90701F #1F9037 #1F4090
split-complementary
#901F78 #40901F #1F9070
monochromatic
#2B0924 #5E144E #901F78 #C22AA2 #D950BC

Accessibility & contrast

On white

7.92
#901F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901F78
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F78#FFFFFF#000000##FFFFFF
##901F781.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25467A
Deuteranopia (green-blind)
#4C5775
Tritanopia (blue-blind)
#98254A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901f78;
/* rgb */ color: rgb(144, 31, 120);
/* oklch */ color: oklch(45.9% 0.174 338.3);
Tailwind
colors: {
  custom: {
    50: '#b4689f',
    500: '#901f78',
    950: '#000000',
  },
}
SCSS
$custom: #901f78;
$custom-light: #b4689f;
$custom-dark: #000000;
JSON
{
  "hex": "#901f78",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 120
  },
  "hsl": {
    "h": 312.743,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4588,
    "c": 0.17446,
    "h": 338.3
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#901F78
secondary
#4EBC66
accent
#E86440
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070E
muted
#817A7E

Preview Lab

Preview with #901F78

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

Preview Lab → · Contrast checker → · Palette generator →

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