#901784#901784

#901784 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.0% C 0.190 H 332.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#901784
RGBrgb(144, 23, 132)
HSLhsl(306, 72%, 33%)
HSVhsv(306, 84%, 56%)
CMYKcmyk(0%, 84%, 8.3%, 43.5%)
CIE-LABlab(34.42, 58.61, -31.44)
CIE-LCHlch(34.42, 66.51, 331.79°)
OKLaboklab(46% 0.1693 -0.0865)
OKLCHoklch(46% 0.19 332.9)
XYZxyz(15.9730, 8.2094, 22.5687)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901784 #179023
analogous
#5F1790 #901784 #901748
triadic
#901784 #849017 #178490
tetradic
#901784 #905F17 #179023 #174890
square
#901784 #905F17 #179023 #174890
split-complementary
#901784 #489017 #17905F
monochromatic
#260623 #5B0F54 #901784 #C51FB4 #E141D1

Accessibility & contrast

On white

7.95
#901784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901784
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901784#FFFFFF#000000##FFFFFF
##9017841.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4687
Deuteranopia (green-blind)
#445781
Tritanopia (blue-blind)
#97274F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901784;
/* rgb */ color: rgb(144, 23, 132);
/* oklch */ color: oklch(46.0% 0.190 332.9);
Tailwind
colors: {
  custom: {
    50: '#b466a8',
    500: '#901784',
    950: '#000000',
  },
}
SCSS
$custom: #901784;
$custom-light: #b466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#901784",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 305.95,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46001,
    "c": 0.1901,
    "h": 332.9
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#901784
secondary
#42C14E
accent
#EF4B39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901784

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

Preview Lab → · Contrast checker → · Palette generator →

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