#901980#901980

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

Color values

HEX#901980
RGBrgb(144, 25, 128)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 82.6%, 11.1%, 43.5%)
CIE-LABlab(34.36, 57.52, -29.03)
CIE-LCHlch(34.36, 64.43, 333.22°)
OKLaboklab(45.89% 0.1677 -0.0795)
OKLCHoklch(45.89% 0.186 334.6)
XYZxyz(15.7457, 8.1845, 21.1684)
Luminance0.0818 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901980 #199029
analogous
#641990 #901980 #901944
triadic
#901980 #809019 #198090
tetradic
#901980 #906419 #199029 #194490
square
#901980 #906419 #199029 #194490
split-complementary
#901980 #449019 #199064
monochromatic
#280723 #5C1052 #901980 #C422AE #DF45CA

Accessibility & contrast

On white

7.96
#901980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901980
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901980#FFFFFF#000000##FFFFFF
##9019801.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #901980;
/* rgb */ color: rgb(144, 25, 128);
/* oklch */ color: oklch(45.9% 0.186 334.6);
Tailwind
colors: {
  custom: {
    50: '#b466a5',
    500: '#901980',
    950: '#000000',
  },
}
SCSS
$custom: #901980;
$custom-light: #b466a5;
$custom-dark: #000000;
JSON
{
  "hex": "#901980",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 308.067,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.18563,
    "h": 334.6
  },
  "luminance": 0.08183
}

Semantic roles & 50–950 ramp

primary
#901980
secondary
#45C055
accent
#ED533B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #901980

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

Preview Lab → · Contrast checker → · Palette generator →

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