#901F8B#901F8B

#901F8B is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.188 H 330.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#901F8B
RGBrgb(144, 31, 139)
HSLhsl(303, 65%, 34%)
HSVhsv(303, 78%, 56%)
CMYKcmyk(0%, 78.5%, 3.5%, 43.5%)
CIE-LABlab(35.55, 57.59, -33.98)
CIE-LCHlch(35.55, 66.87, 329.46°)
OKLaboklab(46.94% 0.1631 -0.0939)
OKLCHoklch(46.94% 0.188 330.1)
XYZxyz(16.6517, 8.7747, 25.2378)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F8B #1F9024
analogous
#5D1F90 #901F8B #901F53
triadic
#901F8B #8B901F #1F8B90
tetradic
#901F8B #905D1F #1F9024 #1F5390
square
#901F8B #905D1F #1F9024 #1F5390
split-complementary
#901F8B #53901F #1F905D
monochromatic
#2B092A #5E145A #901F8B #C22ABC #D950D3

Accessibility & contrast

On white

7.62
#901F8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#901F8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F8B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F8B#FFFFFF#000000##FFFFFF
##901F8B1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8E
Deuteranopia (green-blind)
#435988
Tritanopia (blue-blind)
#963054
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #901f8b;
/* rgb */ color: rgb(144, 31, 139);
/* oklch */ color: oklch(46.9% 0.188 330.1);
Tailwind
colors: {
  custom: {
    50: '#b469ad',
    500: '#901f8b',
    950: '#000000',
  },
}
SCSS
$custom: #901f8b;
$custom-light: #b469ad;
$custom-dark: #000000;
JSON
{
  "hex": "#901f8b",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 139
  },
  "hsl": {
    "h": 302.655,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46936,
    "c": 0.18824,
    "h": 330.1
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#901F8B
secondary
#4EBC53
accent
#E84840
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #901F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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