#901988#901988

#901988 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.191 H 331.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#901988
RGBrgb(144, 25, 136)
HSLhsl(304, 70%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 82.6%, 5.6%, 43.5%)
CIE-LABlab(34.81, 58.75, -33.30)
CIE-LCHlch(34.81, 67.53, 330.46°)
OKLaboklab(46.36% 0.1679 -0.0919)
OKLCHoklch(46.36% 0.191 331.3)
XYZxyz(16.2932, 8.4035, 24.0517)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901988 #199021
analogous
#5D1990 #901988 #90194C
triadic
#901988 #889019 #198890
tetradic
#901988 #905D19 #199021 #194C90
square
#901988 #905D19 #199021 #194C90
split-complementary
#901988 #4C9019 #19905D
monochromatic
#280725 #5C1057 #901988 #C422B9 #DF45D4

Accessibility & contrast

On white

7.83
#901988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#901988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901988
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901988#FFFFFF#000000##FFFFFF
##9019881.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07488B
Deuteranopia (green-blind)
#425785
Tritanopia (blue-blind)
#962A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901988;
/* rgb */ color: rgb(144, 25, 136);
/* oklch */ color: oklch(46.4% 0.191 331.3);
Tailwind
colors: {
  custom: {
    50: '#b467ab',
    500: '#901988',
    950: '#000000',
  },
}
SCSS
$custom: #901988;
$custom-light: #b467ab;
$custom-dark: #000000;
JSON
{
  "hex": "#901988",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 304.034,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46355,
    "c": 0.19137,
    "h": 331.3
  },
  "luminance": 0.08402
}

Semantic roles & 50–950 ramp

primary
#901988
secondary
#45C04D
accent
#ED473B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901988

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

Preview Lab → · Contrast checker → · Palette generator →

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