#9C288F#9C288F

#9C288F is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.8% C 0.188 H 333.0°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9C288F
RGBrgb(156, 40, 143)
HSLhsl(307, 59%, 38%)
HSVhsv(307, 74%, 61%)
CMYKcmyk(0%, 74.4%, 8.3%, 38.8%)
CIE-LABlab(38.85, 58.12, -31.08)
CIE-LCHlch(38.85, 65.91, 331.86°)
OKLaboklab(49.77% 0.1677 -0.0853)
OKLCHoklch(49.77% 0.188 333)
XYZxyz(19.4271, 10.5703, 26.9984)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C288F #289C35
analogous
#6F289C #9C288F #9C2855
triadic
#9C288F #8F9C28 #288F9C
tetradic
#9C288F #9C6F28 #289C35 #28559C
square
#9C288F #9C6F28 #289C35 #28559C
split-complementary
#9C288F #559C28 #289C6F
monochromatic
#3B0F36 #6B1C62 #9C288F #CB36BB #D867CB

Accessibility & contrast

On white

6.74
#9C288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C288F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C288F#FFFFFF#000000##FFFFFF
##9C288F1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A33459
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c288f;
/* rgb */ color: rgb(156, 40, 143);
/* oklch */ color: oklch(49.8% 0.188 333.0);
Tailwind
colors: {
  custom: {
    50: '#bd6eb0',
    500: '#9c288f',
    950: '#000000',
  },
}
SCSS
$custom: #9c288f;
$custom-light: #bd6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c288f",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 306.724,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.18817,
    "h": 333
  },
  "luminance": 0.10569
}

Semantic roles & 50–950 ramp

primary
#9C288F
secondary
#62BE6C
accent
#E25745
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C288F

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

Preview Lab → · Contrast checker → · Palette generator →

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