#9F2C91#9F2C91

#9F2C91 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 333.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9F2C91
RGBrgb(159, 44, 145)
HSLhsl(307, 57%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 72.3%, 8.8%, 37.6%)
CIE-LABlab(39.95, 57.78, -30.54)
CIE-LCHlch(39.95, 65.35, 332.14°)
OKLaboklab(50.69% 0.167 -0.0837)
OKLCHoklch(50.69% 0.187 333.4)
XYZxyz(20.3097, 11.2183, 27.8783)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2C91 #2C9F3A
analogous
#732C9F #9F2C91 #9F2C58
triadic
#9F2C91 #919F2C #2C919F
tetradic
#9F2C91 #9F732C #2C9F3A #2C589F
square
#9F2C91 #9F732C #2C9F3A #2C589F
split-complementary
#9F2C91 #589F2C #2C9F73
monochromatic
#3F113A #6F1F65 #9F2C91 #CA3EB9 #D76ECA

Accessibility & contrast

On white

6.47
#9F2C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9F2C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2C91
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2C91#FFFFFF#000000##FFFFFF
##9F2C911.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#52648E
Tritanopia (blue-blind)
#A6375B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f2c91;
/* rgb */ color: rgb(159, 44, 145);
/* oklch */ color: oklch(50.7% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf70b1',
    500: '#9f2c91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2c91;
$custom-light: #bf70b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2c91",
  "rgb": {
    "r": 159,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 307.304,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50692,
    "c": 0.18679,
    "h": 333.4
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#9F2C91
secondary
#69BE73
accent
#E05A48
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2C91

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

Preview Lab → · Contrast checker → · Palette generator →

#9F2C91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva