#901C8C#901C8C

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

Color values

HEX#901C8C
RGBrgb(144, 28, 140)
HSLhsl(302, 67%, 34%)
HSVhsv(302, 81%, 56%)
CMYKcmyk(0%, 80.6%, 2.8%, 43.5%)
CIE-LABlab(35.31, 58.60, -34.97)
CIE-LCHlch(35.31, 68.24, 329.17°)
OKLaboklab(46.79% 0.1656 -0.0968)
OKLCHoklch(46.79% 0.192 329.7)
XYZxyz(16.6504, 8.6546, 25.5994)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C8C #1C9020
analogous
#5A1C90 #901C8C #901C52
triadic
#901C8C #8C901C #1C8C90
tetradic
#901C8C #905A1C #1C9020 #1C5290
square
#901C8C #905A1C #1C9020 #1C5290
split-complementary
#901C8C #52901C #1C905A
monochromatic
#2A0828 #5D125A #901C8C #C326BE #DC4AD7

Accessibility & contrast

On white

7.69
#901C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#901C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C8C
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C8C#FFFFFF#000000##FFFFFF
##901C8C1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03498F
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#952E54
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901c8c;
/* rgb */ color: rgb(144, 28, 140);
/* oklch */ color: oklch(46.8% 0.192 329.7);
Tailwind
colors: {
  custom: {
    50: '#b468ae',
    500: '#901c8c',
    950: '#000000',
  },
}
SCSS
$custom: #901c8c;
$custom-light: #b468ae;
$custom-dark: #000000;
JSON
{
  "hex": "#901c8c",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 302.069,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46786,
    "c": 0.19176,
    "h": 329.7
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#901C8C
secondary
#4ABE4E
accent
#EA433D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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