#9C2E91#9C2E91

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

Color values

HEX#9C2E91
RGBrgb(156, 46, 145)
HSLhsl(306, 54%, 40%)
HSVhsv(306, 71%, 61%)
CMYKcmyk(0%, 70.5%, 7.1%, 38.8%)
CIE-LABlab(39.69, 56.33, -30.97)
CIE-LCHlch(39.69, 64.28, 331.20°)
OKLaboklab(50.41% 0.1617 -0.085)
OKLCHoklch(50.41% 0.183 332.3)
XYZxyz(19.7982, 11.0678, 27.8761)
Luminance0.1107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E91 #2E9C39
analogous
#702E9C #9C2E91 #9C2E5A
triadic
#9C2E91 #919C2E #2E919C
tetradic
#9C2E91 #9C702E #2E9C39 #2E5A9C
square
#9C2E91 #9C702E #2E9C39 #2E5A9C
split-complementary
#9C2E91 #5A9C2E #2E9C70
monochromatic
#3D1239 #6D2065 #9C2E91 #C740B9 #D570CB

Accessibility & contrast

On white

6.54
#9C2E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9C2E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E91
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E91#FFFFFF#000000##FFFFFF
##9C2E911.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285494
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A3395C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e91;
/* rgb */ color: rgb(156, 46, 145);
/* oklch */ color: oklch(50.4% 0.183 332.3);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9c2e91',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e91;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e91",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 306,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50413,
    "c": 0.1827,
    "h": 332.3
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#9C2E91
secondary
#6ABC72
accent
#DE594A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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