#9C288D#9C288D

#9C288D is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.187 H 333.9°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9C288D
RGBrgb(156, 40, 141)
HSLhsl(308, 59%, 38%)
HSVhsv(308, 74%, 61%)
CMYKcmyk(0%, 74.4%, 9.6%, 38.8%)
CIE-LABlab(38.74, 57.81, -30.02)
CIE-LCHlch(38.74, 65.14, 332.55°)
OKLaboklab(49.66% 0.1676 -0.0823)
OKLCHoklch(49.66% 0.187 333.9)
XYZxyz(19.2770, 10.5102, 26.2076)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C288D #289C37
analogous
#71289C #9C288D #9C2853
triadic
#9C288D #8D9C28 #288D9C
tetradic
#9C288D #9C7128 #289C37 #28539C
square
#9C288D #9C7128 #289C37 #28539C
split-complementary
#9C288D #539C28 #289C71
monochromatic
#3B0F35 #6B1C61 #9C288D #CB36B8 #D867C9

Accessibility & contrast

On white

6.77
#9C288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9C288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C288D
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C288D#FFFFFF#000000##FFFFFF
##9C288D1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#50618A
Tritanopia (blue-blind)
#A33358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c288d;
/* rgb */ color: rgb(156, 40, 141);
/* oklch */ color: oklch(49.7% 0.187 333.9);
Tailwind
colors: {
  custom: {
    50: '#bd6eae',
    500: '#9c288d',
    950: '#000000',
  },
}
SCSS
$custom: #9c288d;
$custom-light: #bd6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c288d",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 307.759,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49661,
    "c": 0.18669,
    "h": 333.9
  },
  "luminance": 0.10509
}

Semantic roles & 50–950 ramp

primary
#9C288D
secondary
#62BE6E
accent
#E25A45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C288D

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

Preview Lab → · Contrast checker → · Palette generator →

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