#9C2891#9C2891

#9C2891 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.190 H 332.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9C2891
RGBrgb(156, 40, 145)
HSLhsl(306, 59%, 38%)
HSVhsv(306, 74%, 61%)
CMYKcmyk(0%, 74.4%, 7.1%, 38.8%)
CIE-LABlab(38.95, 58.43, -32.14)
CIE-LCHlch(38.95, 66.69, 331.19°)
OKLaboklab(49.88% 0.1678 -0.0883)
OKLCHoklch(49.88% 0.19 332.2)
XYZxyz(19.5800, 10.6315, 27.8034)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2891 #289C33
analogous
#6D289C #9C2891 #9C2857
triadic
#9C2891 #919C28 #28919C
tetradic
#9C2891 #9C6D28 #289C33 #28579C
square
#9C2891 #9C6D28 #289C33 #28579C
split-complementary
#9C2891 #579C28 #289C6D
monochromatic
#3B0F36 #6B1C64 #9C2891 #CB36BD #D867CD

Accessibility & contrast

On white

6.72
#9C2891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9C2891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2891
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2891#FFFFFF#000000##FFFFFF
##9C28911.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215194
Deuteranopia (green-blind)
#4E618E
Tritanopia (blue-blind)
#A3355A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2891;
/* rgb */ color: rgb(156, 40, 145);
/* oklch */ color: oklch(49.9% 0.190 332.2);
Tailwind
colors: {
  custom: {
    50: '#bd6eb1',
    500: '#9c2891',
    950: '#000000',
  },
}
SCSS
$custom: #9c2891;
$custom-light: #bd6eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2891",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 305.69,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49879,
    "c": 0.18966,
    "h": 332.2
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#9C2891
secondary
#62BE6B
accent
#E25445
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2891

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

Preview Lab → · Contrast checker → · Palette generator →

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