#9C2799#9C2799

#9C2799 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.197 H 329.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9C2799
RGBrgb(156, 39, 153)
HSLhsl(302, 60%, 38%)
HSVhsv(302, 75%, 61%)
CMYKcmyk(0%, 75%, 1.9%, 38.8%)
CIE-LABlab(39.28, 60.05, -36.49)
CIE-LCHlch(39.28, 70.27, 328.72°)
OKLaboklab(50.25% 0.169 -0.1009)
OKLCHoklch(50.25% 0.197 329.1)
XYZxyz(20.1854, 10.8204, 31.1562)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2799 #279C2A
analogous
#64279C #9C2799 #9C275F
triadic
#9C2799 #999C27 #27999C
tetradic
#9C2799 #9C6427 #279C2A #275F9C
square
#9C2799 #9C6427 #279C2A #275F9C
split-complementary
#9C2799 #5F9C27 #279C64
monochromatic
#3A0F39 #6B1B69 #9C2799 #CC34C8 #D865D6

Accessibility & contrast

On white

6.64
#9C2799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C2799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2799
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2799#FFFFFF#000000##FFFFFF
##9C27991.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A2385E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2799;
/* rgb */ color: rgb(156, 39, 153);
/* oklch */ color: oklch(50.3% 0.197 329.1);
Tailwind
colors: {
  custom: {
    50: '#bd6eb7',
    500: '#9c2799',
    950: '#000000',
  },
}
SCSS
$custom: #9c2799;
$custom-light: #bd6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2799",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 153
  },
  "hsl": {
    "h": 301.538,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.19682,
    "h": 329.1
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#9C2799
secondary
#61BE63
accent
#E34945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2799

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

Preview Lab → · Contrast checker → · Palette generator →

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