#9C2096#9C2096

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

Color values

HEX#9C2096
RGBrgb(156, 32, 150)
HSLhsl(303, 66%, 37%)
HSVhsv(303, 79%, 61%)
CMYKcmyk(0%, 79.5%, 3.8%, 38.8%)
CIE-LABlab(38.38, 61.65, -36.08)
CIE-LCHlch(38.38, 71.43, 329.66°)
OKLaboklab(49.56% 0.1749 -0.0997)
OKLCHoklch(49.56% 0.201 330.3)
XYZxyz(19.7318, 10.3045, 29.7980)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2096 #209C26
analogous
#64209C #9C2096 #9C2058
triadic
#9C2096 #969C20 #20969C
tetradic
#9C2096 #9C6420 #209C26 #20589C
square
#9C2096 #9C6420 #209C26 #20589C
split-complementary
#9C2096 #589C20 #209C64
monochromatic
#360B34 #691665 #9C2096 #CF2AC7 #DD59D7

Accessibility & contrast

On white

6.86
#9C2096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9C2096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2096
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2096#FFFFFF#000000##FFFFFF
##9C20961.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5099
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A2325B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2096;
/* rgb */ color: rgb(156, 32, 150);
/* oklch */ color: oklch(49.6% 0.201 330.3);
Tailwind
colors: {
  custom: {
    50: '#bd6bb5',
    500: '#9c2096',
    950: '#000000',
  },
}
SCSS
$custom: #9c2096;
$custom-light: #bd6bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2096",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 302.903,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.20136,
    "h": 330.3
  },
  "luminance": 0.10303
}

Semantic roles & 50–950 ramp

primary
#9C2096
secondary
#57C15C
accent
#E9473F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2096

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

Preview Lab → · Contrast checker → · Palette generator →

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