#9C2388#9C2388

#9C2388 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.188 H 335.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9C2388
RGBrgb(156, 35, 136)
HSLhsl(310, 63%, 37%)
HSVhsv(310, 78%, 61%)
CMYKcmyk(0%, 77.6%, 12.8%, 38.8%)
CIE-LABlab(37.93, 58.63, -28.23)
CIE-LCHlch(37.93, 65.08, 334.29°)
OKLaboklab(48.99% 0.1719 -0.0771)
OKLCHoklch(48.99% 0.188 335.9)
XYZxyz(18.7556, 10.0493, 24.2397)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2388 #239C37
analogous
#73239C #9C2388 #9C234C
triadic
#9C2388 #889C23 #23889C
tetradic
#9C2388 #9C7323 #239C37 #234C9C
square
#9C2388 #9C7323 #239C37 #234C9C
split-complementary
#9C2388 #4C9C23 #239C73
monochromatic
#380D31 #6A185C #9C2388 #CE2EB4 #DB5EC6

Accessibility & contrast

On white

6.98
#9C2388 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9C2388 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2388
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2388#FFFFFF#000000##FFFFFF
##9C23881.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A42D54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9c2388;
/* rgb */ color: rgb(156, 35, 136);
/* oklch */ color: oklch(49.0% 0.188 335.9);
Tailwind
colors: {
  custom: {
    50: '#bd6cab',
    500: '#9c2388',
    950: '#000000',
  },
}
SCSS
$custom: #9c2388;
$custom-light: #bd6cab;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2388",
  "rgb": {
    "r": 156,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 309.917,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48993,
    "c": 0.18839,
    "h": 335.9
  },
  "luminance": 0.10048
}

Semantic roles & 50–950 ramp

primary
#9C2388
secondary
#5BC06C
accent
#E65D41
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9C2388

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

Preview Lab → · Contrast checker → · Palette generator →

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