#901780#901780

#901780 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.187 H 334.6°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#901780
RGBrgb(144, 23, 128)
HSLhsl(308, 72%, 33%)
HSVhsv(308, 84%, 56%)
CMYKcmyk(0%, 84%, 11.1%, 43.5%)
CIE-LABlab(34.19, 58.01, -29.29)
CIE-LCHlch(34.19, 64.99, 333.21°)
OKLaboklab(45.77% 0.1692 -0.0803)
OKLCHoklch(45.77% 0.187 334.6)
XYZxyz(15.7045, 8.1020, 21.1546)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901780 #179027
analogous
#631790 #901780 #901743
triadic
#901780 #809017 #178090
tetradic
#901780 #906317 #179027 #174390
square
#901780 #906317 #179027 #174390
split-complementary
#901780 #439017 #179063
monochromatic
#260622 #5B0F51 #901780 #C51FAF #E141CB

Accessibility & contrast

On white

8.01
#901780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#901780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901780
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901780#FFFFFF#000000##FFFFFF
##9017801.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154583
Deuteranopia (green-blind)
#46567D
Tritanopia (blue-blind)
#97244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #901780;
/* rgb */ color: rgb(144, 23, 128);
/* oklch */ color: oklch(45.8% 0.187 334.6);
Tailwind
colors: {
  custom: {
    50: '#b466a5',
    500: '#901780',
    950: '#000000',
  },
}
SCSS
$custom: #901780;
$custom-light: #b466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#901780",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 307.934,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45772,
    "c": 0.18727,
    "h": 334.6
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#901780
secondary
#42C153
accent
#EF5139
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901780

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

Preview Lab → · Contrast checker → · Palette generator →

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