#901A87#901A87

#901A87 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.190 H 331.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#901A87
RGBrgb(144, 26, 135)
HSLhsl(305, 69%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 81.9%, 6.2%, 43.5%)
CIE-LABlab(34.84, 58.34, -32.63)
CIE-LCHlch(34.84, 66.84, 330.78°)
OKLaboklab(46.36% 0.1671 -0.0899)
OKLCHoklch(46.36% 0.19 331.7)
XYZxyz(16.2442, 8.4187, 23.6864)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901A87 #1A9023
analogous
#5E1A90 #901A87 #901A4C
triadic
#901A87 #87901A #1A8790
tetradic
#901A87 #905E1A #1A9023 #1A4C90
square
#901A87 #905E1A #1A9023 #1A4C90
split-complementary
#901A87 #4C901A #1A905E
monochromatic
#280726 #5C1156 #901A87 #C423B8 #DE47D2

Accessibility & contrast

On white

7.83
#901A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#901A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901A87
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901A87#FFFFFF#000000##FFFFFF
##901A871.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C488A
Deuteranopia (green-blind)
#435884
Tritanopia (blue-blind)
#962A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901a87;
/* rgb */ color: rgb(144, 26, 135);
/* oklch */ color: oklch(46.4% 0.190 331.7);
Tailwind
colors: {
  custom: {
    50: '#b467aa',
    500: '#901a87',
    950: '#000000',
  },
}
SCSS
$custom: #901a87;
$custom-light: #b467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901a87",
  "rgb": {
    "r": 144,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 304.576,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.46358,
    "c": 0.1898,
    "h": 331.7
  },
  "luminance": 0.08417
}

Semantic roles & 50–950 ramp

primary
#901A87
secondary
#47BF50
accent
#EC493C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901A87

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

Preview Lab → · Contrast checker → · Palette generator →

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