#901786#901786

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

Color values

HEX#901786
RGBrgb(144, 23, 134)
HSLhsl(305, 72%, 33%)
HSVhsv(305, 84%, 56%)
CMYKcmyk(0%, 84%, 6.9%, 43.5%)
CIE-LABlab(34.53, 58.92, -32.50)
CIE-LCHlch(34.53, 67.29, 331.12°)
OKLaboklab(46.12% 0.1693 -0.0896)
OKLCHoklch(46.12% 0.192 332.1)
XYZxyz(16.1111, 8.2647, 23.2964)
Luminance0.0826 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901786 #179021
analogous
#5E1790 #901786 #901749
triadic
#901786 #869017 #178690
tetradic
#901786 #905E17 #179021 #174990
square
#901786 #905E17 #179021 #174990
split-complementary
#901786 #499017 #17905E
monochromatic
#260624 #5B0F55 #901786 #C51FB7 #E141D3

Accessibility & contrast

On white

7.92
#901786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901786
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901786#FFFFFF#000000##FFFFFF
##9017861.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094789
Deuteranopia (green-blind)
#435783
Tritanopia (blue-blind)
#962850
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901786;
/* rgb */ color: rgb(144, 23, 134);
/* oklch */ color: oklch(46.1% 0.192 332.1);
Tailwind
colors: {
  custom: {
    50: '#b466a9',
    500: '#901786',
    950: '#000000',
  },
}
SCSS
$custom: #901786;
$custom-light: #b466a9;
$custom-dark: #000000;
JSON
{
  "hex": "#901786",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 304.959,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46118,
    "c": 0.19153,
    "h": 332.1
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#901786
secondary
#42C14C
accent
#EF4839
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901786

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

Preview Lab → · Contrast checker → · Palette generator →

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