#901B7D#901B7D

#901B7D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.182 H 336.0°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#901B7D
RGBrgb(144, 27, 125)
HSLhsl(310, 68%, 34%)
HSVhsv(310, 81%, 56%)
CMYKcmyk(0%, 81.3%, 13.2%, 43.5%)
CIE-LABlab(34.39, 56.55, -27.12)
CIE-LCHlch(34.39, 62.71, 334.38°)
OKLaboklab(45.86% 0.166 -0.0741)
OKLCHoklch(45.86% 0.182 336)
XYZxyz(15.5955, 8.1953, 20.1586)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901B7D #1B902E
analogous
#681B90 #901B7D #901B42
triadic
#901B7D #7D901B #1B7D90
tetradic
#901B7D #90681B #1B902E #1B4290
square
#901B7D #90681B #1B902E #1B4290
split-complementary
#901B7D #42901B #1B9068
monochromatic
#290824 #5C1150 #901B7D #C425AA #DD49C5

Accessibility & contrast

On white

7.96
#901B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901B7D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901B7D#FFFFFF#000000##FFFFFF
##901B7D1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4680
Deuteranopia (green-blind)
#48577A
Tritanopia (blue-blind)
#98254B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901b7d;
/* rgb */ color: rgb(144, 27, 125);
/* oklch */ color: oklch(45.9% 0.182 336.0);
Tailwind
colors: {
  custom: {
    50: '#b467a3',
    500: '#901b7d',
    950: '#000000',
  },
}
SCSS
$custom: #901b7d;
$custom-light: #b467a3;
$custom-dark: #000000;
JSON
{
  "hex": "#901b7d",
  "rgb": {
    "r": 144,
    "g": 27,
    "b": 125
  },
  "hsl": {
    "h": 309.744,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.18178,
    "h": 336
  },
  "luminance": 0.08194
}

Semantic roles & 50–950 ramp

primary
#901B7D
secondary
#48BF5B
accent
#EB593D
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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