#901C8B#901C8B

#901C8B is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.7% C 0.191 H 330.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#901C8B
RGBrgb(144, 28, 139)
HSLhsl(303, 67%, 34%)
HSVhsv(303, 81%, 56%)
CMYKcmyk(0%, 80.6%, 3.5%, 43.5%)
CIE-LABlab(35.25, 58.44, -34.45)
CIE-LCHlch(35.25, 67.84, 329.48°)
OKLaboklab(46.73% 0.1656 -0.0952)
OKLCHoklch(46.73% 0.191 330.1)
XYZxyz(16.5770, 8.6252, 25.2128)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C8B #1C9021
analogous
#5B1C90 #901C8B #901C51
triadic
#901C8B #8B901C #1C8B90
tetradic
#901C8B #905B1C #1C9021 #1C5190
square
#901C8B #905B1C #1C9021 #1C5190
split-complementary
#901C8B #51901C #1C905B
monochromatic
#2A0828 #5D125A #901C8B #C326BC #DC4AD6

Accessibility & contrast

On white

7.71
#901C8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#901C8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C8B
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C8B#FFFFFF#000000##FFFFFF
##901C8B1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06498E
Deuteranopia (green-blind)
#415888
Tritanopia (blue-blind)
#962E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901c8b;
/* rgb */ color: rgb(144, 28, 139);
/* oklch */ color: oklch(46.7% 0.191 330.1);
Tailwind
colors: {
  custom: {
    50: '#b468ad',
    500: '#901c8b',
    950: '#000000',
  },
}
SCSS
$custom: #901c8b;
$custom-light: #b468ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901c8b",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 139
  },
  "hsl": {
    "h": 302.586,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46726,
    "c": 0.19102,
    "h": 330.1
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#901C8B
secondary
#4ABE4F
accent
#EA453D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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