#901B7F#901B7F

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

Color values

HEX#901B7F
RGBrgb(144, 27, 127)
HSLhsl(309, 68%, 34%)
HSVhsv(309, 81%, 56%)
CMYKcmyk(0%, 81.3%, 11.8%, 43.5%)
CIE-LABlab(34.49, 56.85, -28.20)
CIE-LCHlch(34.49, 63.46, 333.61°)
OKLaboklab(45.97% 0.1661 -0.0772)
OKLCHoklch(45.97% 0.183 335.1)
XYZxyz(15.7245, 8.2469, 20.8382)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B7F #1B902C
analogous
#661B90 #901B7F #901B44
triadic
#901B7F #7F901B #1B7F90
tetradic
#901B7F #90661B #1B902C #1B4490
square
#901B7F #90661B #1B902C #1B4490
split-complementary
#901B7F #44901B #1B9066
monochromatic
#290824 #5C1152 #901B7F #C425AC #DD49C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##901B7F#FFFFFF#000000##FFFFFF
##901B7F1.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)
#1A4682
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#97264D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901b7f;
/* rgb */ color: rgb(144, 27, 127);
/* oklch */ color: oklch(46.0% 0.183 335.1);
Tailwind
colors: {
  custom: {
    50: '#b467a4',
    500: '#901b7f',
    950: '#000000',
  },
}
SCSS
$custom: #901b7f;
$custom-light: #b467a4;
$custom-dark: #000000;
JSON
{
  "hex": "#901b7f",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 308.718,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.18318,
    "h": 335.1
  },
  "luminance": 0.08245
}

Semantic roles & 50–950 ramp

primary
#901B7F
secondary
#48BF59
accent
#EB563D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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