#9C2589#9C2589

#9C2589 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.187 H 335.5°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9C2589
RGBrgb(156, 37, 137)
HSLhsl(310, 62%, 38%)
HSVhsv(310, 76%, 61%)
CMYKcmyk(0%, 76.3%, 12.2%, 38.8%)
CIE-LABlab(38.20, 58.17, -28.43)
CIE-LCHlch(38.20, 64.74, 333.95°)
OKLaboklab(49.2% 0.1702 -0.0776)
OKLCHoklch(49.2% 0.187 335.5)
XYZxyz(18.8875, 10.1989, 24.6359)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2589 #259C38
analogous
#73259C #9C2589 #9C254D
triadic
#9C2589 #899C25 #25899C
tetradic
#9C2589 #9C7325 #259C38 #254D9C
square
#9C2589 #9C7325 #259C38 #254D9C
split-complementary
#9C2589 #4D9C25 #259C73
monochromatic
#390E32 #6B195E #9C2589 #CD31B4 #DA62C7

Accessibility & contrast

On white

6.91
#9C2589 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9C2589 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2589
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2589#FFFFFF#000000##FFFFFF
##9C25891.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A42F55
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2589;
/* rgb */ color: rgb(156, 37, 137);
/* oklch */ color: oklch(49.2% 0.187 335.5);
Tailwind
colors: {
  custom: {
    50: '#bd6dac',
    500: '#9c2589',
    950: '#000000',
  },
}
SCSS
$custom: #9c2589;
$custom-light: #bd6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2589",
  "rgb": {
    "r": 156,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 309.58,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49201,
    "c": 0.18704,
    "h": 335.5
  },
  "luminance": 0.10197
}

Semantic roles & 50–950 ramp

primary
#9C2589
secondary
#5EBF6D
accent
#E55D43
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120810
muted
#817A7F

Preview Lab

Preview with #9C2589

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

Preview Lab → · Contrast checker → · Palette generator →

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