#901F7B#901F7B

#901F7B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 46.0% C 0.177 H 336.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#901F7B
RGBrgb(144, 31, 123)
HSLhsl(311, 65%, 34%)
HSVhsv(311, 78%, 56%)
CMYKcmyk(0%, 78.5%, 14.6%, 43.5%)
CIE-LABlab(34.68, 55.10, -25.40)
CIE-LCHlch(34.68, 60.68, 335.25°)
OKLaboklab(46.04% 0.1624 -0.0692)
OKLCHoklch(46.04% 0.177 336.9)
XYZxyz(15.5670, 8.3408, 19.5251)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F7B #1F9034
analogous
#6C1F90 #901F7B #901F43
triadic
#901F7B #7B901F #1F7B90
tetradic
#901F7B #906C1F #1F9034 #1F4390
square
#901F7B #906C1F #1F9034 #1F4390
split-complementary
#901F7B #43901F #1F906C
monochromatic
#2B0925 #5E1450 #901F7B #C22AA6 #D950C0

Accessibility & contrast

On white

7.87
#901F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#901F7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F7B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F7B#FFFFFF#000000##FFFFFF
##901F7B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22477D
Deuteranopia (green-blind)
#4A5878
Tritanopia (blue-blind)
#98274B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f7b;
/* rgb */ color: rgb(144, 31, 123);
/* oklch */ color: oklch(46.0% 0.177 336.9);
Tailwind
colors: {
  custom: {
    50: '#b468a1',
    500: '#901f7b',
    950: '#000000',
  },
}
SCSS
$custom: #901f7b;
$custom-light: #b468a1;
$custom-dark: #000000;
JSON
{
  "hex": "#901f7b",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 311.15,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46037,
    "c": 0.17654,
    "h": 336.9
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#901F7B
secondary
#4EBC63
accent
#E85F40
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #901F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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