#901981#901981

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

Color values

HEX#901981
RGBrgb(144, 25, 129)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 82.6%, 10.4%, 43.5%)
CIE-LABlab(34.42, 57.67, -29.57)
CIE-LCHlch(34.42, 64.81, 332.86°)
OKLaboklab(45.95% 0.1678 -0.0811)
OKLCHoklch(45.95% 0.186 334.2)
XYZxyz(15.8119, 8.2110, 21.5167)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901981 #199028
analogous
#631990 #901981 #901945
triadic
#901981 #819019 #198190
tetradic
#901981 #906319 #199028 #194590
square
#901981 #906319 #199028 #194590
split-complementary
#901981 #459019 #199063
monochromatic
#280724 #5C1052 #901981 #C422B0 #DF45CB

Accessibility & contrast

On white

7.95
#901981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#901981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901981
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901981#FFFFFF#000000##FFFFFF
##9019811.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901981;
/* rgb */ color: rgb(144, 25, 129);
/* oklch */ color: oklch(45.9% 0.186 334.2);
Tailwind
colors: {
  custom: {
    50: '#b466a6',
    500: '#901981',
    950: '#000000',
  },
}
SCSS
$custom: #901981;
$custom-light: #b466a6;
$custom-dark: #000000;
JSON
{
  "hex": "#901981",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 307.563,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45949,
    "c": 0.18634,
    "h": 334.2
  },
  "luminance": 0.0821
}

Semantic roles & 50–950 ramp

primary
#901981
secondary
#45C054
accent
#ED513B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901981

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

Preview Lab → · Contrast checker → · Palette generator →

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