#901987#901987

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

Color values

HEX#901987
RGBrgb(144, 25, 135)
HSLhsl(305, 70%, 33%)
HSVhsv(305, 83%, 56%)
CMYKcmyk(0%, 82.6%, 6.2%, 43.5%)
CIE-LABlab(34.75, 58.59, -32.77)
CIE-LCHlch(34.75, 67.13, 330.78°)
OKLaboklab(46.3% 0.1679 -0.0903)
OKLCHoklch(46.3% 0.191 331.7)
XYZxyz(16.2224, 8.3752, 23.6792)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901987 #199022
analogous
#5D1990 #901987 #90194B
triadic
#901987 #879019 #198790
tetradic
#901987 #905D19 #199022 #194B90
square
#901987 #905D19 #199022 #194B90
split-complementary
#901987 #4B9019 #19905D
monochromatic
#280725 #5C1056 #901987 #C422B8 #DF45D3

Accessibility & contrast

On white

7.85
#901987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#901987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901987
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901987#FFFFFF#000000##FFFFFF
##9019871.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#435784
Tritanopia (blue-blind)
#962A51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #901987;
/* rgb */ color: rgb(144, 25, 135);
/* oklch */ color: oklch(46.3% 0.191 331.7);
Tailwind
colors: {
  custom: {
    50: '#b467aa',
    500: '#901987',
    950: '#000000',
  },
}
SCSS
$custom: #901987;
$custom-light: #b467aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901987",
  "rgb": {
    "r": 144,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 304.538,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.46296,
    "c": 0.19064,
    "h": 331.7
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#901987
secondary
#45C04E
accent
#ED483B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901987

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

Preview Lab → · Contrast checker → · Palette generator →

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