#9C2195#9C2195

#9C2195 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.6% C 0.200 H 330.7°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9C2195
RGBrgb(156, 33, 149)
HSLhsl(303, 65%, 37%)
HSVhsv(303, 79%, 61%)
CMYKcmyk(0%, 78.8%, 4.5%, 38.8%)
CIE-LABlab(38.42, 61.21, -35.41)
CIE-LCHlch(38.42, 70.72, 329.95°)
OKLaboklab(49.57% 0.1742 -0.0978)
OKLCHoklch(49.57% 0.2 330.7)
XYZxyz(19.6789, 10.3272, 29.3848)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2195 #219C28
analogous
#66219C #9C2195 #9C2157
triadic
#9C2195 #959C21 #21959C
tetradic
#9C2195 #9C6621 #219C28 #21579C
square
#9C2195 #9C6621 #219C28 #21579C
split-complementary
#9C2195 #579C21 #219C66
monochromatic
#370C35 #691665 #9C2195 #CF2CC5 #DC5BD5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2195#FFFFFF#000000##FFFFFF
##9C21951.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)
#105098
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A2325A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2195;
/* rgb */ color: rgb(156, 33, 149);
/* oklch */ color: oklch(49.6% 0.200 330.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cb4',
    500: '#9c2195',
    950: '#000000',
  },
}
SCSS
$custom: #9c2195;
$custom-light: #bd6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2195",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 303.415,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49571,
    "c": 0.19972,
    "h": 330.7
  },
  "luminance": 0.10326
}

Semantic roles & 50–950 ramp

primary
#9C2195
secondary
#58C15E
accent
#E84940
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2195

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

Preview Lab → · Contrast checker → · Palette generator →

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