#901F97#901F97

#901F97 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.198 H 325.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#901F97
RGBrgb(144, 31, 151)
HSLhsl(297, 66%, 36%)
HSVhsv(297, 79%, 59%)
CMYKcmyk(4.6%, 79.5%, 0%, 40.8%)
CIE-LABlab(36.26, 59.60, -40.20)
CIE-LCHlch(36.26, 71.89, 326.00°)
OKLaboklab(47.67% 0.1627 -0.112)
OKLCHoklch(47.67% 0.198 325.5)
XYZxyz(17.5771, 9.1448, 30.1115)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901F97 #26971F
analogous
#541F97 #901F97 #971F62
triadic
#901F97 #97901F #1F9790
tetradic
#901F97 #97541F #26971F #1F6297
square
#901F97 #97541F #26971F #1F6297
split-complementary
#901F97 #62971F #1F9754
monochromatic
#2F0A31 #601564 #901F97 #C029CA #D454DC

Accessibility & contrast

On white

7.42
#901F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#901F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901F97
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901F97#FFFFFF#000000##FFFFFF
##901F971.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3B5A94
Tritanopia (blue-blind)
#93365B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #901f97;
/* rgb */ color: rgb(144, 31, 151);
/* oklch */ color: oklch(47.7% 0.198 325.5);
Tailwind
colors: {
  custom: {
    50: '#b469b6',
    500: '#901f97',
    950: '#000000',
  },
}
SCSS
$custom: #901f97;
$custom-light: #b469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#901f97",
  "rgb": {
    "r": 144,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 296.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47674,
    "c": 0.19753,
    "h": 325.5
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#901F97
secondary
#59BF52
accent
#E93F49
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #901F97

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

Preview Lab → · Contrast checker → · Palette generator →

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