#9F2D91#9F2D91

#9F2D91 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.186 H 333.4°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9F2D91
RGBrgb(159, 45, 145)
HSLhsl(307, 56%, 40%)
HSVhsv(307, 72%, 62%)
CMYKcmyk(0%, 71.7%, 8.8%, 37.6%)
CIE-LABlab(40.07, 57.42, -30.34)
CIE-LCHlch(40.07, 64.95, 332.15°)
OKLaboklab(50.78% 0.166 -0.0831)
OKLCHoklch(50.78% 0.186 333.4)
XYZxyz(20.3474, 11.2937, 27.8908)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2D91 #2D9F3B
analogous
#742D9F #9F2D91 #9F2D58
triadic
#9F2D91 #919F2D #2D919F
tetradic
#9F2D91 #9F742D #2D9F3B #2D589F
square
#9F2D91 #9F742D #2D9F3B #2D589F
split-complementary
#9F2D91 #589F2D #2D9F74
monochromatic
#40123A #6F2066 #9F2D91 #C940B8 #D670CA

Accessibility & contrast

On white

6.44
#9F2D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9F2D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2D91
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2D91#FFFFFF#000000##FFFFFF
##9F2D911.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f2d91;
/* rgb */ color: rgb(159, 45, 145);
/* oklch */ color: oklch(50.8% 0.186 333.4);
Tailwind
colors: {
  custom: {
    50: '#bf71b1',
    500: '#9f2d91',
    950: '#000000',
  },
}
SCSS
$custom: #9f2d91;
$custom-light: #bf71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2d91",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 307.368,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.18563,
    "h": 333.4
  },
  "luminance": 0.11292
}

Semantic roles & 50–950 ramp

primary
#9F2D91
secondary
#6ABE74
accent
#DF5B49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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