#901C84#901C84

#901C84 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.186 H 333.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#901C84
RGBrgb(144, 28, 132)
HSLhsl(306, 67%, 34%)
HSVhsv(306, 81%, 56%)
CMYKcmyk(0%, 80.6%, 8.3%, 43.5%)
CIE-LABlab(34.86, 57.34, -30.74)
CIE-LCHlch(34.86, 65.06, 331.80°)
OKLaboklab(46.32% 0.1655 -0.0845)
OKLCHoklch(46.32% 0.186 333)
XYZxyz(16.0818, 8.4271, 22.6049)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C84 #1C9028
analogous
#621C90 #901C84 #901C4A
triadic
#901C84 #84901C #1C8490
tetradic
#901C84 #90621C #1C9028 #1C4A90
square
#901C84 #90621C #1C9028 #1C4A90
split-complementary
#901C84 #4A901C #1C9062
monochromatic
#2A0826 #5D1255 #901C84 #C326B3 #DC4ACD

Accessibility & contrast

On white

7.82
#901C84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#901C84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C84
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C84#FFFFFF#000000##FFFFFF
##901C841.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154887
Deuteranopia (green-blind)
#455881
Tritanopia (blue-blind)
#972A50
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901c84;
/* rgb */ color: rgb(144, 28, 132);
/* oklch */ color: oklch(46.3% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#b467a8',
    500: '#901c84',
    950: '#000000',
  },
}
SCSS
$custom: #901c84;
$custom-light: #b467a8;
$custom-dark: #000000;
JSON
{
  "hex": "#901c84",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 306.207,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.18585,
    "h": 333
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#901C84
secondary
#4ABE56
accent
#EA4F3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901C84

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

Preview Lab → · Contrast checker → · Palette generator →

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