#9C2889#9C2889

#9C2889 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.4% C 0.184 H 335.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9C2889
RGBrgb(156, 40, 137)
HSLhsl(310, 59%, 38%)
HSVhsv(310, 74%, 61%)
CMYKcmyk(0%, 74.4%, 12.2%, 38.8%)
CIE-LABlab(38.54, 57.19, -27.89)
CIE-LCHlch(38.54, 63.63, 334.00°)
OKLaboklab(49.45% 0.1673 -0.0761)
OKLCHoklch(49.45% 0.184 335.5)
XYZxyz(18.9847, 10.3933, 24.6683)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2889 #289C3B
analogous
#75289C #9C2889 #9C284F
triadic
#9C2889 #899C28 #28899C
tetradic
#9C2889 #9C7528 #289C3B #284F9C
square
#9C2889 #9C7528 #289C3B #284F9C
split-complementary
#9C2889 #4F9C28 #289C75
monochromatic
#3B0F33 #6B1C5E #9C2889 #CB36B3 #D867C5

Accessibility & contrast

On white

6.82
#9C2889 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2889 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2889
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2889#FFFFFF#000000##FFFFFF
##9C28891.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A43156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2889;
/* rgb */ color: rgb(156, 40, 137);
/* oklch */ color: oklch(49.4% 0.184 335.5);
Tailwind
colors: {
  custom: {
    50: '#bd6eac',
    500: '#9c2889',
    950: '#000000',
  },
}
SCSS
$custom: #9c2889;
$custom-light: #bd6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2889",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 309.828,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49448,
    "c": 0.18378,
    "h": 335.5
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#9C2889
secondary
#62BE71
accent
#E25F45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2889

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

Preview Lab → · Contrast checker → · Palette generator →

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