#901F88#901F88

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

Color values

HEX#901F88
RGBrgb(144, 31, 136)
HSLhsl(304, 65%, 34%)
HSVhsv(304, 78%, 56%)
CMYKcmyk(0%, 78.5%, 5.6%, 43.5%)
CIE-LABlab(35.38, 57.11, -32.40)
CIE-LCHlch(35.38, 65.66, 330.43°)
OKLaboklab(46.76% 0.1631 -0.0893)
OKLCHoklch(46.76% 0.186 331.3)
XYZxyz(16.4355, 8.6882, 24.0991)
Luminance0.0869 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F88 #1F9027
analogous
#601F90 #901F88 #901F50
triadic
#901F88 #88901F #1F8890
tetradic
#901F88 #90601F #1F9027 #1F5090
square
#901F88 #90601F #1F9027 #1F5090
split-complementary
#901F88 #50901F #1F9060
monochromatic
#2B0929 #5E1458 #901F88 #C22AB8 #D950D0

Accessibility & contrast

On white

7.67
#901F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #901F88
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F88#FFFFFF#000000##FFFFFF
##901F881.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#445985
Tritanopia (blue-blind)
#962E53
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901f88;
/* rgb */ color: rgb(144, 31, 136);
/* oklch */ color: oklch(46.8% 0.186 331.3);
Tailwind
colors: {
  custom: {
    50: '#b469ab',
    500: '#901f88',
    950: '#000000',
  },
}
SCSS
$custom: #901f88;
$custom-light: #b469ab;
$custom-dark: #000000;
JSON
{
  "hex": "#901f88",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 136
  },
  "hsl": {
    "h": 304.248,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46759,
    "c": 0.18597,
    "h": 331.3
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#901F88
secondary
#4EBC56
accent
#E84C40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F88

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

Preview Lab → · Contrast checker → · Palette generator →

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