#901788#901788

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

Color values

HEX#901788
RGBrgb(144, 23, 136)
HSLhsl(304, 72%, 33%)
HSVhsv(304, 84%, 56%)
CMYKcmyk(0%, 84%, 5.6%, 43.5%)
CIE-LABlab(34.64, 59.23, -33.56)
CIE-LCHlch(34.64, 68.08, 330.46°)
OKLaboklab(46.24% 0.1693 -0.0926)
OKLCHoklch(46.24% 0.193 331.3)
XYZxyz(16.2519, 8.3210, 24.0379)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901788 #17901F
analogous
#5B1790 #901788 #90174B
triadic
#901788 #889017 #178890
tetradic
#901788 #905B17 #17901F #174B90
square
#901788 #905B17 #17901F #174B90
split-complementary
#901788 #4B9017 #17905B
monochromatic
#260624 #5B0F56 #901788 #C51FBA #E141D6

Accessibility & contrast

On white

7.88
#901788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901788
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901788#FFFFFF#000000##FFFFFF
##9017881.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03478B
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#962951
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901788;
/* rgb */ color: rgb(144, 23, 136);
/* oklch */ color: oklch(46.2% 0.193 331.3);
Tailwind
colors: {
  custom: {
    50: '#b466ab',
    500: '#901788',
    950: '#000000',
  },
}
SCSS
$custom: #901788;
$custom-light: #b466ab;
$custom-dark: #000000;
JSON
{
  "hex": "#901788",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 303.967,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46236,
    "c": 0.19296,
    "h": 331.3
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#901788
secondary
#42C14A
accent
#EF4539
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901788

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

Preview Lab → · Contrast checker → · Palette generator →

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