#901787#901787

#901787 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.192 H 331.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#901787
RGBrgb(144, 23, 135)
HSLhsl(304, 72%, 33%)
HSVhsv(304, 84%, 56%)
CMYKcmyk(0%, 84%, 6.2%, 43.5%)
CIE-LABlab(34.59, 59.08, -33.03)
CIE-LCHlch(34.59, 67.68, 330.79°)
OKLaboklab(46.18% 0.1693 -0.0911)
OKLCHoklch(46.18% 0.192 331.7)
XYZxyz(16.1812, 8.2927, 23.6654)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901787 #179020
analogous
#5D1790 #901787 #90174A
triadic
#901787 #879017 #178790
tetradic
#901787 #905D17 #179020 #174A90
square
#901787 #905D17 #179020 #174A90
split-complementary
#901787 #4A9017 #17905D
monochromatic
#260624 #5B0F56 #901787 #C51FB8 #E141D5

Accessibility & contrast

On white

7.90
#901787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#901787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901787
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901787#FFFFFF#000000##FFFFFF
##9017871.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#962950
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901787;
/* rgb */ color: rgb(144, 23, 135);
/* oklch */ color: oklch(46.2% 0.192 331.7);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#901787',
    950: '#000000',
  },
}
SCSS
$custom: #901787;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901787",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 304.463,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46177,
    "c": 0.19224,
    "h": 331.7
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#901787
secondary
#42C14B
accent
#EF4639
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901787

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

Preview Lab → · Contrast checker → · Palette generator →

#901787 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva