#9C288C#9C288C

#9C288C is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.6% C 0.186 H 334.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9C288C
RGBrgb(156, 40, 140)
HSLhsl(308, 59%, 38%)
HSVhsv(308, 74%, 61%)
CMYKcmyk(0%, 74.4%, 10.3%, 38.8%)
CIE-LABlab(38.69, 57.65, -29.49)
CIE-LCHlch(38.69, 64.76, 332.91°)
OKLaboklab(49.61% 0.1675 -0.0807)
OKLCHoklch(49.61% 0.186 334.3)
XYZxyz(19.2029, 10.4806, 25.8175)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C288C #289C38
analogous
#72289C #9C288C #9C2852
triadic
#9C288C #8C9C28 #288C9C
tetradic
#9C288C #9C7228 #289C38 #28529C
square
#9C288C #9C7228 #289C38 #28529C
split-complementary
#9C288C #529C28 #289C72
monochromatic
#3B0F35 #6B1C60 #9C288C #CB36B7 #D867C8

Accessibility & contrast

On white

6.78
#9C288C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C288C
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C288C#FFFFFF#000000##FFFFFF
##9C288C1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#506189
Tritanopia (blue-blind)
#A43257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c288c;
/* rgb */ color: rgb(156, 40, 140);
/* oklch */ color: oklch(49.6% 0.186 334.3);
Tailwind
colors: {
  custom: {
    50: '#bd6eae',
    500: '#9c288c',
    950: '#000000',
  },
}
SCSS
$custom: #9c288c;
$custom-light: #bd6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#9c288c",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 308.276,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.18596,
    "h": 334.3
  },
  "luminance": 0.10479
}

Semantic roles & 50–950 ramp

primary
#9C288C
secondary
#62BE6F
accent
#E25B45
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C288C

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

Preview Lab → · Contrast checker → · Palette generator →

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