#901781#901781

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

Color values

HEX#901781
RGBrgb(144, 23, 129)
HSLhsl(307, 72%, 33%)
HSVhsv(307, 84%, 56%)
CMYKcmyk(0%, 84%, 10.4%, 43.5%)
CIE-LABlab(34.25, 58.16, -29.83)
CIE-LCHlch(34.25, 65.37, 332.85°)
OKLaboklab(45.83% 0.1692 -0.0819)
OKLCHoklch(45.83% 0.188 334.2)
XYZxyz(15.7706, 8.1285, 21.5030)
Luminance0.0813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901781 #179026
analogous
#621790 #901781 #901744
triadic
#901781 #819017 #178190
tetradic
#901781 #906217 #179026 #174490
square
#901781 #906217 #179026 #174490
split-complementary
#901781 #449017 #179062
monochromatic
#260622 #5B0F52 #901781 #C51FB0 #E141CD

Accessibility & contrast

On white

8.00
#901781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901781
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901781#FFFFFF#000000##FFFFFF
##9017811.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#45577E
Tritanopia (blue-blind)
#97254D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901781;
/* rgb */ color: rgb(144, 23, 129);
/* oklch */ color: oklch(45.8% 0.188 334.2);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#901781',
    950: '#000000',
  },
}
SCSS
$custom: #901781;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901781",
  "rgb": {
    "r": 144,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 307.438,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.18798,
    "h": 334.2
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#901781
secondary
#42C151
accent
#EF4F39
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901781

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

Preview Lab → · Contrast checker → · Palette generator →

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