#901C8D#901C8D

#901C8D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.193 H 329.3°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#901C8D
RGBrgb(144, 28, 141)
HSLhsl(302, 67%, 34%)
HSVhsv(302, 81%, 56%)
CMYKcmyk(0%, 80.6%, 2.1%, 43.5%)
CIE-LABlab(35.37, 58.76, -35.50)
CIE-LCHlch(35.37, 68.65, 328.87°)
OKLaboklab(46.85% 0.1655 -0.0983)
OKLCHoklch(46.85% 0.193 329.3)
XYZxyz(16.7245, 8.6842, 25.9895)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C8D #1C901F
analogous
#591C90 #901C8D #901C53
triadic
#901C8D #8D901C #1C8D90
tetradic
#901C8D #90591C #1C901F #1C5390
square
#901C8D #90591C #1C901F #1C5390
split-complementary
#901C8D #53901C #1C9059
monochromatic
#2A0829 #5D125B #901C8D #C326BF #DC4AD8

Accessibility & contrast

On white

7.67
#901C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#901C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C8D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C8D#FFFFFF#000000##FFFFFF
##901C8D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#40588A
Tritanopia (blue-blind)
#952F55
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901c8d;
/* rgb */ color: rgb(144, 28, 141);
/* oklch */ color: oklch(46.8% 0.193 329.3);
Tailwind
colors: {
  custom: {
    50: '#b468af',
    500: '#901c8d',
    950: '#000000',
  },
}
SCSS
$custom: #901c8d;
$custom-light: #b468af;
$custom-dark: #000000;
JSON
{
  "hex": "#901c8d",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 301.552,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.19252,
    "h": 329.3
  },
  "luminance": 0.08683
}

Semantic roles & 50–950 ramp

primary
#901C8D
secondary
#4ABE4D
accent
#EA423D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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