#9C2F91#9C2F91

#9C2F91 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.181 H 332.3°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9C2F91
RGBrgb(156, 47, 145)
HSLhsl(306, 54%, 40%)
HSVhsv(306, 70%, 61%)
CMYKcmyk(0%, 69.9%, 7.1%, 38.8%)
CIE-LABlab(39.83, 55.96, -30.76)
CIE-LCHlch(39.83, 63.85, 331.20°)
OKLaboklab(50.51% 0.1606 -0.0844)
OKLCHoklch(50.51% 0.181 332.3)
XYZxyz(19.8377, 11.1469, 27.8893)
Luminance0.1114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2F91 #2F9C3A
analogous
#712F9C #9C2F91 #9C2F5B
triadic
#9C2F91 #919C2F #2F919C
tetradic
#9C2F91 #9C712F #2F9C3A #2F5B9C
square
#9C2F91 #9C712F #2F9C3A #2F5B9C
split-complementary
#9C2F91 #5B9C2F #2F9C71
monochromatic
#3E133A #6D2165 #9C2F91 #C642B9 #D471CA

Accessibility & contrast

On white

6.50
#9C2F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9C2F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2F91
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2F91#FFFFFF#000000##FFFFFF
##9C2F911.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c2f91;
/* rgb */ color: rgb(156, 47, 145);
/* oklch */ color: oklch(50.5% 0.181 332.3);
Tailwind
colors: {
  custom: {
    50: '#bc71b1',
    500: '#9c2f91',
    950: '#000000',
  },
}
SCSS
$custom: #9c2f91;
$custom-light: #bc71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2f91",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 306.055,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50509,
    "c": 0.18146,
    "h": 332.3
  },
  "luminance": 0.11145
}

Semantic roles & 50–950 ramp

primary
#9C2F91
secondary
#6BBC73
accent
#DD594B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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