#9C2497#9C2497

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

Color values

HEX#9C2497
RGBrgb(156, 36, 151)
HSLhsl(303, 63%, 38%)
HSVhsv(303, 77%, 61%)
CMYKcmyk(0%, 76.9%, 3.2%, 38.8%)
CIE-LABlab(38.84, 60.66, -35.97)
CIE-LCHlch(38.84, 70.52, 329.33°)
OKLaboklab(49.9% 0.1716 -0.0994)
OKLCHoklch(49.9% 0.198 329.9)
XYZxyz(19.9270, 10.5656, 30.2620)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2497 #249C29
analogous
#65249C #9C2497 #9C245B
triadic
#9C2497 #979C24 #24979C
tetradic
#9C2497 #9C6524 #249C29 #245B9C
square
#9C2497 #9C6524 #249C29 #245B9C
split-complementary
#9C2497 #5B9C24 #249C65
monochromatic
#390D37 #6A1967 #9C2497 #CE2FC7 #DA60D5

Accessibility & contrast

On white

6.75
#9C2497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C2497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2497
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2497#FFFFFF#000000##FFFFFF
##9C24971.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A2355C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2497;
/* rgb */ color: rgb(156, 36, 151);
/* oklch */ color: oklch(49.9% 0.198 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6db6',
    500: '#9c2497',
    950: '#000000',
  },
}
SCSS
$custom: #9c2497;
$custom-light: #bd6db6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2497",
  "rgb": {
    "r": 156,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 302.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49904,
    "c": 0.19834,
    "h": 329.9
  },
  "luminance": 0.10564
}

Semantic roles & 50–950 ramp

primary
#9C2497
secondary
#5CBF61
accent
#E64942
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2497

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

Preview Lab → · Contrast checker → · Palette generator →

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