#901F7F#901F7F

#901F7F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.179 H 335.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#901F7F
RGBrgb(144, 31, 127)
HSLhsl(309, 65%, 34%)
HSVhsv(309, 78%, 56%)
CMYKcmyk(0%, 78.5%, 11.8%, 43.5%)
CIE-LABlab(34.89, 55.70, -27.58)
CIE-LCHlch(34.89, 62.16, 333.66°)
OKLaboklab(46.25% 0.1627 -0.0754)
OKLCHoklch(46.25% 0.179 335.1)
XYZxyz(15.8226, 8.4430, 20.8709)
Luminance0.0844 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F7F #1F9030
analogous
#691F90 #901F7F #901F46
triadic
#901F7F #7F901F #1F7F90
tetradic
#901F7F #90691F #1F9030 #1F4690
square
#901F7F #90691F #1F9030 #1F4690
split-complementary
#901F7F #46901F #1F9069
monochromatic
#2B0926 #5E1453 #901F7F #C22AAB #D950C5

Accessibility & contrast

On white

7.81
#901F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#901F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F7F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F7F#FFFFFF#000000##FFFFFF
##901F7F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4782
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#97294E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901f7f;
/* rgb */ color: rgb(144, 31, 127);
/* oklch */ color: oklch(46.3% 0.179 335.1);
Tailwind
colors: {
  custom: {
    50: '#b468a4',
    500: '#901f7f',
    950: '#000000',
  },
}
SCSS
$custom: #901f7f;
$custom-light: #b468a4;
$custom-dark: #000000;
JSON
{
  "hex": "#901f7f",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 127
  },
  "hsl": {
    "h": 309.027,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.17936,
    "h": 335.1
  },
  "luminance": 0.08442
}

Semantic roles & 50–950 ramp

primary
#901F7F
secondary
#4EBC5F
accent
#E85940
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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