#901C8F#901C8F

#901C8F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 47.0% C 0.194 H 328.5°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#901C8F
RGBrgb(144, 28, 143)
HSLhsl(301, 67%, 34%)
HSVhsv(301, 81%, 56%)
CMYKcmyk(0%, 80.6%, 0.7%, 43.5%)
CIE-LABlab(35.49, 59.09, -36.54)
CIE-LCHlch(35.49, 69.47, 328.27°)
OKLaboklab(46.97% 0.1655 -0.1013)
OKLCHoklch(46.97% 0.194 328.5)
XYZxyz(16.8746, 8.7443, 26.7803)
Luminance0.0874 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C8F #1C901D
analogous
#571C90 #901C8F #901C55
triadic
#901C8F #8F901C #1C8F90
tetradic
#901C8F #90571C #1C901D #1C5590
square
#901C8F #90571C #1C901D #1C5590
split-complementary
#901C8F #55901C #1C9057
monochromatic
#2A0829 #5D125C #901C8F #C326C2 #DC4ADB

Accessibility & contrast

On white

7.64
#901C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#901C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C8F
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C8F#FFFFFF#000000##FFFFFF
##901C8F1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#3F598C
Tritanopia (blue-blind)
#953056
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901c8f;
/* rgb */ color: rgb(144, 28, 143);
/* oklch */ color: oklch(47.0% 0.194 328.5);
Tailwind
colors: {
  custom: {
    50: '#b468b0',
    500: '#901c8f',
    950: '#000000',
  },
}
SCSS
$custom: #901c8f;
$custom-light: #b468b0;
$custom-dark: #000000;
JSON
{
  "hex": "#901c8f",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 300.517,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46968,
    "c": 0.19403,
    "h": 328.5
  },
  "luminance": 0.08743
}

Semantic roles & 50–950 ramp

primary
#901C8F
secondary
#4ABE4B
accent
#EA3F3D
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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