#901288#901288

#901288 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 46.0% C 0.196 H 331.3°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#901288
RGBrgb(144, 18, 136)
HSLhsl(304, 78%, 32%)
HSVhsv(304, 88%, 56%)
CMYKcmyk(0%, 87.5%, 5.6%, 43.5%)
CIE-LABlab(34.27, 60.30, -34.15)
CIE-LCHlch(34.27, 69.30, 330.48°)
OKLaboklab(45.98% 0.1724 -0.0943)
OKLCHoklch(45.98% 0.196 331.3)
XYZxyz(16.1619, 8.1409, 24.0079)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901288 #12901A
analogous
#591290 #901288 #901249
triadic
#901288 #889012 #128890
tetradic
#901288 #905912 #12901A #124990
square
#901288 #905912 #12901A #124990
split-complementary
#901288 #499012 #129059
monochromatic
#230421 #5A0B55 #901288 #C619BB #E636DB

Accessibility & contrast

On white

7.99
#901288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#901288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901288
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901288#FFFFFF#000000##FFFFFF
##9012881.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#405685
Tritanopia (blue-blind)
#962750
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #901288;
/* rgb */ color: rgb(144, 18, 136);
/* oklch */ color: oklch(46.0% 0.196 331.3);
Tailwind
colors: {
  custom: {
    50: '#b565ab',
    500: '#901288',
    950: '#000000',
  },
}
SCSS
$custom: #901288;
$custom-light: #b565ab;
$custom-dark: #000000;
JSON
{
  "hex": "#901288",
  "rgb": {
    "r": 144,
    "g": 18,
    "b": 136
  },
  "hsl": {
    "h": 303.81,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45975,
    "c": 0.19649,
    "h": 331.3
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#901288
secondary
#3AC443
accent
#F44034
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901288

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

Preview Lab → · Contrast checker → · Palette generator →

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