#9C288B#9C288B

#9C288B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.185 H 334.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9C288B
RGBrgb(156, 40, 139)
HSLhsl(309, 59%, 38%)
HSVhsv(309, 74%, 61%)
CMYKcmyk(0%, 74.4%, 10.9%, 38.8%)
CIE-LABlab(38.64, 57.50, -28.96)
CIE-LCHlch(38.64, 64.38, 333.27°)
OKLaboklab(49.55% 0.1674 -0.0792)
OKLCHoklch(49.55% 0.185 334.7)
XYZxyz(19.1295, 10.4513, 25.4309)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C288B #289C39
analogous
#73289C #9C288B #9C2851
triadic
#9C288B #8B9C28 #288B9C
tetradic
#9C288B #9C7328 #289C39 #28519C
square
#9C288B #9C7328 #289C39 #28519C
split-complementary
#9C288B #519C28 #289C73
monochromatic
#3B0F34 #6B1C60 #9C288B #CB36B5 #D867C7

Accessibility & contrast

On white

6.80
#9C288B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9C288B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C288B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C288B#FFFFFF#000000##FFFFFF
##9C288B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#516188
Tritanopia (blue-blind)
#A43257
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c288b;
/* rgb */ color: rgb(156, 40, 139);
/* oklch */ color: oklch(49.6% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#bd6ead',
    500: '#9c288b',
    950: '#000000',
  },
}
SCSS
$custom: #9c288b;
$custom-light: #bd6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#9c288b",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 308.793,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49553,
    "c": 0.18523,
    "h": 334.7
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C288B

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

Preview Lab → · Contrast checker → · Palette generator →

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