#9C2097#9C2097

#9C2097 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 329.9°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2097
RGBrgb(156, 32, 151)
HSLhsl(302, 66%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 79.5%, 3.2%, 38.8%)
CIE-LABlab(38.44, 61.81, -36.60)
CIE-LCHlch(38.44, 71.83, 329.37°)
OKLaboklab(49.62% 0.1749 -0.1012)
OKLCHoklch(49.62% 0.202 329.9)
XYZxyz(19.8126, 10.3369, 30.2239)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2097 #209C25
analogous
#63209C #9C2097 #9C2059
triadic
#9C2097 #979C20 #20979C
tetradic
#9C2097 #9C6320 #209C25 #20599C
square
#9C2097 #9C6320 #209C25 #20599C
split-complementary
#9C2097 #599C20 #209C63
monochromatic
#360B35 #691666 #9C2097 #CF2AC8 #DD59D8

Accessibility & contrast

On white

6.85
#9C2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9C2097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2097
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2097#FFFFFF#000000##FFFFFF
##9C20971.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509A
Deuteranopia (green-blind)
#486094
Tritanopia (blue-blind)
#A2335B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2097;
/* rgb */ color: rgb(156, 32, 151);
/* oklch */ color: oklch(49.6% 0.202 329.9);
Tailwind
colors: {
  custom: {
    50: '#bd6cb6',
    500: '#9c2097',
    950: '#000000',
  },
}
SCSS
$custom: #9c2097;
$custom-light: #bd6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2097",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 302.419,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.2021,
    "h": 329.9
  },
  "luminance": 0.10335
}

Semantic roles & 50–950 ramp

primary
#9C2097
secondary
#57C15B
accent
#E9463F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2097

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

Preview Lab → · Contrast checker → · Palette generator →

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