#9C2792#9C2792

#9C2792 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.192 H 331.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9C2792
RGBrgb(156, 39, 146)
HSLhsl(305, 60%, 38%)
HSVhsv(305, 75%, 61%)
CMYKcmyk(0%, 75%, 6.4%, 38.8%)
CIE-LABlab(38.89, 58.92, -32.85)
CIE-LCHlch(38.89, 67.46, 330.86°)
OKLaboklab(49.85% 0.1688 -0.0904)
OKLCHoklch(49.85% 0.192 331.8)
XYZxyz(19.6242, 10.5959, 28.2002)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2792 #279C31
analogous
#6B279C #9C2792 #9C2757
triadic
#9C2792 #929C27 #27929C
tetradic
#9C2792 #9C6B27 #279C31 #27579C
square
#9C2792 #9C6B27 #279C31 #27579C
split-complementary
#9C2792 #579C27 #279C6B
monochromatic
#3A0F36 #6B1B64 #9C2792 #CC34BF #D865CF

Accessibility & contrast

On white

6.73
#9C2792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9C2792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2792
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2792#FFFFFF#000000##FFFFFF
##9C27921.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#4D618F
Tritanopia (blue-blind)
#A3355A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2792;
/* rgb */ color: rgb(156, 39, 146);
/* oklch */ color: oklch(49.9% 0.192 331.8);
Tailwind
colors: {
  custom: {
    50: '#bd6eb2',
    500: '#9c2792',
    950: '#000000',
  },
}
SCSS
$custom: #9c2792;
$custom-light: #bd6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2792",
  "rgb": {
    "r": 156,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 305.128,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.1915,
    "h": 331.8
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#9C2792
secondary
#61BE69
accent
#E35245
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2792

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

Preview Lab → · Contrast checker → · Palette generator →

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