#901F87#901F87

#901F87 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.185 H 331.7°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#901F87
RGBrgb(144, 31, 135)
HSLhsl(305, 65%, 34%)
HSVhsv(305, 78%, 56%)
CMYKcmyk(0%, 78.5%, 6.2%, 43.5%)
CIE-LABlab(35.32, 56.95, -31.87)
CIE-LCHlch(35.32, 65.26, 330.77°)
OKLaboklab(46.7% 0.1631 -0.0878)
OKLCHoklch(46.7% 0.185 331.7)
XYZxyz(16.3648, 8.6599, 23.7266)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F87 #1F9028
analogous
#611F90 #901F87 #901F4F
triadic
#901F87 #87901F #1F8790
tetradic
#901F87 #90611F #1F9028 #1F4F90
square
#901F87 #90611F #1F9028 #1F4F90
split-complementary
#901F87 #4F901F #1F9061
monochromatic
#2B0929 #5E1458 #901F87 #C22AB6 #D950CE

Accessibility & contrast

On white

7.69
#901F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#901F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F87
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F87#FFFFFF#000000##FFFFFF
##901F871.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15498A
Deuteranopia (green-blind)
#455984
Tritanopia (blue-blind)
#962D52
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #901f87;
/* rgb */ color: rgb(144, 31, 135);
/* oklch */ color: oklch(46.7% 0.185 331.7);
Tailwind
colors: {
  custom: {
    50: '#b469aa',
    500: '#901f87',
    950: '#000000',
  },
}
SCSS
$custom: #901f87;
$custom-light: #b469aa;
$custom-dark: #000000;
JSON
{
  "hex": "#901f87",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 304.779,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46701,
    "c": 0.18522,
    "h": 331.7
  },
  "luminance": 0.08659
}

Semantic roles & 50–950 ramp

primary
#901F87
secondary
#4EBC57
accent
#E84E40
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F87

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

Preview Lab → · Contrast checker → · Palette generator →

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