#901881#901881

#901881 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.187 H 334.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#901881
RGBrgb(144, 24, 129)
HSLhsl(308, 71%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 83.3%, 10.4%, 43.5%)
CIE-LABlab(34.33, 57.92, -29.70)
CIE-LCHlch(34.33, 65.09, 332.85°)
OKLaboklab(45.89% 0.1685 -0.0815)
OKLCHoklch(45.89% 0.187 334.2)
XYZxyz(15.7909, 8.1690, 21.5097)
Luminance0.0817 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901881 #189027
analogous
#631890 #901881 #901845
triadic
#901881 #819018 #188190
tetradic
#901881 #906318 #189027 #184590
square
#901881 #906318 #189027 #184590
split-complementary
#901881 #459018 #189063
monochromatic
#270723 #5C0F52 #901881 #C421B0 #E043CC

Accessibility & contrast

On white

7.97
#901881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901881
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901881#FFFFFF#000000##FFFFFF
##9018811.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901881;
/* rgb */ color: rgb(144, 24, 129);
/* oklch */ color: oklch(45.9% 0.187 334.2);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#901881',
    950: '#000000',
  },
}
SCSS
$custom: #901881;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901881",
  "rgb": {
    "r": 144,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 307.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.18717,
    "h": 334.2
  },
  "luminance": 0.08168
}

Semantic roles & 50–950 ramp

primary
#901881
secondary
#43C053
accent
#EE503A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901881

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

Preview Lab → · Contrast checker → · Palette generator →

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