#901C87#901C87

#901C87 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.188 H 331.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#901C87
RGBrgb(144, 28, 135)
HSLhsl(305, 67%, 34%)
HSVhsv(305, 81%, 56%)
CMYKcmyk(0%, 80.6%, 6.2%, 43.5%)
CIE-LABlab(35.02, 57.80, -32.34)
CIE-LCHlch(35.02, 66.24, 330.78°)
OKLaboklab(46.49% 0.1656 -0.0891)
OKLCHoklch(46.49% 0.188 331.7)
XYZxyz(16.2901, 8.5104, 23.7017)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901C87 #1C9025
analogous
#5F1C90 #901C87 #901C4D
triadic
#901C87 #87901C #1C8790
tetradic
#901C87 #905F1C #1C9025 #1C4D90
square
#901C87 #905F1C #1C9025 #1C4D90
split-complementary
#901C87 #4D901C #1C905F
monochromatic
#2A0827 #5D1257 #901C87 #C326B7 #DC4AD1

Accessibility & contrast

On white

7.77
#901C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#901C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901C87
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901C87#FFFFFF#000000##FFFFFF
##901C871.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#962C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901c87;
/* rgb */ color: rgb(144, 28, 135);
/* oklch */ color: oklch(46.5% 0.188 331.7);
Tailwind
colors: {
  custom: {
    50: '#b468aa',
    500: '#901c87',
    950: '#000000',
  },
}
SCSS
$custom: #901c87;
$custom-light: #b468aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901c87",
  "rgb": {
    "r": 144,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 304.655,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46489,
    "c": 0.18805,
    "h": 331.7
  },
  "luminance": 0.08509
}

Semantic roles & 50–950 ramp

primary
#901C87
secondary
#4ABE53
accent
#EA4B3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901C87

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

Preview Lab → · Contrast checker → · Palette generator →

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