#9C2489#9C2489

#9C2489 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.188 H 335.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#9C2489
RGBrgb(156, 36, 137)
HSLhsl(310, 63%, 38%)
HSVhsv(310, 77%, 61%)
CMYKcmyk(0%, 76.9%, 12.2%, 38.8%)
CIE-LABlab(38.09, 58.48, -28.60)
CIE-LCHlch(38.09, 65.10, 333.94°)
OKLaboklab(49.12% 0.1711 -0.0781)
OKLCHoklch(49.12% 0.188 335.5)
XYZxyz(18.8568, 10.1375, 24.6257)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2489 #249C37
analogous
#73249C #9C2489 #9C244D
triadic
#9C2489 #899C24 #24899C
tetradic
#9C2489 #9C7324 #249C37 #244D9C
square
#9C2489 #9C7324 #249C37 #244D9C
split-complementary
#9C2489 #4D9C24 #249C73
monochromatic
#390D32 #6A195D #9C2489 #CE2FB5 #DA60C7

Accessibility & contrast

On white

6.94
#9C2489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9C2489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2489
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2489#FFFFFF#000000##FFFFFF
##9C24891.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A42E55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2489;
/* rgb */ color: rgb(156, 36, 137);
/* oklch */ color: oklch(49.1% 0.188 335.5);
Tailwind
colors: {
  custom: {
    50: '#bd6cac',
    500: '#9c2489',
    950: '#000000',
  },
}
SCSS
$custom: #9c2489;
$custom-light: #bd6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2489",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 309.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49123,
    "c": 0.18809,
    "h": 335.5
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#9C2489
secondary
#5CBF6C
accent
#E65C42
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C2489

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

Preview Lab → · Contrast checker → · Palette generator →

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