#901F89#901F89

#901F89 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.187 H 330.9°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#901F89
RGBrgb(144, 31, 137)
HSLhsl(304, 65%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 78.5%, 4.9%, 43.5%)
CIE-LABlab(35.43, 57.27, -32.93)
CIE-LCHlch(35.43, 66.06, 330.10°)
OKLaboklab(46.82% 0.1631 -0.0908)
OKLCHoklch(46.82% 0.187 330.9)
XYZxyz(16.5069, 8.7168, 24.4752)
Luminance0.0872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F89 #1F9026
analogous
#5F1F90 #901F89 #901F51
triadic
#901F89 #89901F #1F8990
tetradic
#901F89 #905F1F #1F9026 #1F5190
square
#901F89 #905F1F #1F9026 #1F5190
split-complementary
#901F89 #51901F #1F905F
monochromatic
#2B0929 #5E1459 #901F89 #C22AB9 #D950D1

Accessibility & contrast

On white

7.66
#901F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#901F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F89
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F89#FFFFFF#000000##FFFFFF
##901F891.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#445986
Tritanopia (blue-blind)
#962E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901f89;
/* rgb */ color: rgb(144, 31, 137);
/* oklch */ color: oklch(46.8% 0.187 330.9);
Tailwind
colors: {
  custom: {
    50: '#b469ac',
    500: '#901f89',
    950: '#000000',
  },
}
SCSS
$custom: #901f89;
$custom-light: #b469ac;
$custom-dark: #000000;
JSON
{
  "hex": "#901f89",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 137
  },
  "hsl": {
    "h": 303.717,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46818,
    "c": 0.18672,
    "h": 330.9
  },
  "luminance": 0.08715
}

Semantic roles & 50–950 ramp

primary
#901F89
secondary
#4EBC55
accent
#E84B40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F89

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

Preview Lab → · Contrast checker → · Palette generator →

#901F89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva