#901884#901884

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

Color values

HEX#901884
RGBrgb(144, 24, 132)
HSLhsl(306, 71%, 33%)
HSVhsv(306, 83%, 56%)
CMYKcmyk(0%, 83.3%, 8.3%, 43.5%)
CIE-LABlab(34.50, 58.37, -31.31)
CIE-LCHlch(34.50, 66.24, 331.79°)
OKLaboklab(46.06% 0.1686 -0.0861)
OKLCHoklch(46.06% 0.189 332.9)
XYZxyz(15.9932, 8.2499, 22.5754)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901884 #189024
analogous
#601890 #901884 #901848
triadic
#901884 #849018 #188490
tetradic
#901884 #906018 #189024 #184890
square
#901884 #906018 #189024 #184890
split-complementary
#901884 #489018 #189060
monochromatic
#270724 #5C0F54 #901884 #C421B4 #E043D0

Accessibility & contrast

On white

7.93
#901884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#901884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901884
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901884#FFFFFF#000000##FFFFFF
##9018841.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901884;
/* rgb */ color: rgb(144, 24, 132);
/* oklch */ color: oklch(46.1% 0.189 332.9);
Tailwind
colors: {
  custom: {
    50: '#b466a8',
    500: '#901884',
    950: '#000000',
  },
}
SCSS
$custom: #901884;
$custom-light: #b466a8;
$custom-dark: #000000;
JSON
{
  "hex": "#901884",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 306,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.18929,
    "h": 332.9
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#901884
secondary
#43C050
accent
#EE4C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901884

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

Preview Lab → · Contrast checker → · Palette generator →

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