#9C288E#9C288E

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

Color values

HEX#9C288E
RGBrgb(156, 40, 142)
HSLhsl(307, 59%, 38%)
HSVhsv(307, 74%, 61%)
CMYKcmyk(0%, 74.4%, 9%, 38.8%)
CIE-LABlab(38.79, 57.96, -30.55)
CIE-LCHlch(38.79, 65.52, 332.20°)
OKLaboklab(49.72% 0.1677 -0.0838)
OKLCHoklch(49.72% 0.187 333.4)
XYZxyz(19.3517, 10.5401, 26.6012)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C288E #289C36
analogous
#70289C #9C288E #9C2854
triadic
#9C288E #8E9C28 #288E9C
tetradic
#9C288E #9C7028 #289C36 #28549C
square
#9C288E #9C7028 #289C36 #28549C
split-complementary
#9C288E #549C28 #289C70
monochromatic
#3B0F35 #6B1C62 #9C288E #CB36B9 #D867CA

Accessibility & contrast

On white

6.76
#9C288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9C288E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C288E#FFFFFF#000000##FFFFFF
##9C288E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#4F618B
Tritanopia (blue-blind)
#A33358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c288e;
/* rgb */ color: rgb(156, 40, 142);
/* oklch */ color: oklch(49.7% 0.187 333.4);
Tailwind
colors: {
  custom: {
    50: '#bd6eaf',
    500: '#9c288e',
    950: '#000000',
  },
}
SCSS
$custom: #9c288e;
$custom-light: #bd6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9c288e",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 307.241,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49715,
    "c": 0.18743,
    "h": 333.4
  },
  "luminance": 0.10538
}

Semantic roles & 50–950 ramp

primary
#9C288E
secondary
#62BE6D
accent
#E25845
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C288E

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

Preview Lab → · Contrast checker → · Palette generator →

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