#9C2991#9C2991

#9C2991 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.189 H 332.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C2991
RGBrgb(156, 41, 145)
HSLhsl(306, 58%, 39%)
HSVhsv(306, 74%, 61%)
CMYKcmyk(0%, 73.7%, 7.1%, 38.8%)
CIE-LABlab(39.07, 58.10, -31.95)
CIE-LCHlch(39.07, 66.31, 331.19°)
OKLaboklab(49.96% 0.1669 -0.0878)
OKLCHoklch(49.96% 0.189 332.2)
XYZxyz(19.6141, 10.6997, 27.8148)
Luminance0.1070 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2991 #299C34
analogous
#6D299C #9C2991 #9C2957
triadic
#9C2991 #919C29 #29919C
tetradic
#9C2991 #9C6D29 #299C34 #29579C
square
#9C2991 #9C6D29 #299C34 #29579C
split-complementary
#9C2991 #579C29 #299C6D
monochromatic
#3B1037 #6C1C64 #9C2991 #CB38BD #D768CD

Accessibility & contrast

On white

6.69
#9C2991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9C2991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2991
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2991#FFFFFF#000000##FFFFFF
##9C29911.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225294
Deuteranopia (green-blind)
#4E628E
Tritanopia (blue-blind)
#A3365A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2991;
/* rgb */ color: rgb(156, 41, 145);
/* oklch */ color: oklch(50.0% 0.189 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6fb1',
    500: '#9c2991',
    950: '#000000',
  },
}
SCSS
$custom: #9c2991;
$custom-light: #bd6fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2991",
  "rgb": {
    "r": 156,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 305.739,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.18856,
    "h": 332.2
  },
  "luminance": 0.10698
}

Semantic roles & 50–950 ramp

primary
#9C2991
secondary
#63BE6C
accent
#E25546
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2991

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

Preview Lab → · Contrast checker → · Palette generator →

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