#901D97#901D97

#901D97 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.199 H 325.5°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#901D97
RGBrgb(144, 29, 151)
HSLhsl(297, 68%, 35%)
HSVhsv(297, 81%, 59%)
CMYKcmyk(4.6%, 80.8%, 0%, 40.8%)
CIE-LABlab(36.07, 60.16, -40.51)
CIE-LCHlch(36.07, 72.53, 326.05°)
OKLaboklab(47.54% 0.1643 -0.1129)
OKLCHoklch(47.54% 0.199 325.5)
XYZxyz(17.5265, 9.0436, 30.0946)
Luminance0.0904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#901D97 #24971D
analogous
#531D97 #901D97 #971D61
triadic
#901D97 #97901D #1D9790
tetradic
#901D97 #97531D #24971D #1D6197
square
#901D97 #97531D #24971D #1D6197
split-complementary
#901D97 #61971D #1D9753
monochromatic
#2E0930 #5F1364 #901D97 #C127CA #D551DE

Accessibility & contrast

On white

7.48
#901D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#901D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #901D97
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##901D97#FFFFFF#000000##FFFFFF
##901D971.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#3A5994
Tritanopia (blue-blind)
#93355B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #901d97;
/* rgb */ color: rgb(144, 29, 151);
/* oklch */ color: oklch(47.5% 0.199 325.5);
Tailwind
colors: {
  custom: {
    50: '#b469b6',
    500: '#901d97',
    950: '#000000',
  },
}
SCSS
$custom: #901d97;
$custom-light: #b469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#901d97",
  "rgb": {
    "r": 144,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 296.557,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.19931,
    "h": 325.5
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#901D97
secondary
#56C04F
accent
#EB3D47
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #901D97

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

Preview Lab → · Contrast checker → · Palette generator →

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