#9C2193#9C2193

#9C2193 is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.198 H 331.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#9C2193
RGBrgb(156, 33, 147)
HSLhsl(304, 65%, 37%)
HSVhsv(304, 79%, 61%)
CMYKcmyk(0%, 78.8%, 5.8%, 38.8%)
CIE-LABlab(38.31, 60.90, -34.37)
CIE-LCHlch(38.31, 69.93, 330.56°)
OKLaboklab(49.46% 0.1741 -0.0947)
OKLCHoklch(49.46% 0.198 331.4)
XYZxyz(19.5206, 10.2638, 28.5511)
Luminance0.1026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2193 #219C2A
analogous
#67219C #9C2193 #9C2156
triadic
#9C2193 #939C21 #21939C
tetradic
#9C2193 #9C6721 #219C2A #21569C
square
#9C2193 #9C6721 #219C2A #21569C
split-complementary
#9C2193 #569C21 #219C67
monochromatic
#370C34 #691663 #9C2193 #CF2CC3 #DC5BD3

Accessibility & contrast

On white

6.88
#9C2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9C2193 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2193
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2193#FFFFFF#000000##FFFFFF
##9C21931.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144F96
Deuteranopia (green-blind)
#4A6090
Tritanopia (blue-blind)
#A33159
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9c2193;
/* rgb */ color: rgb(156, 33, 147);
/* oklch */ color: oklch(49.5% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd6cb3',
    500: '#9c2193',
    950: '#000000',
  },
}
SCSS
$custom: #9c2193;
$custom-light: #bd6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2193",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 304.39,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.19824,
    "h": 331.4
  },
  "luminance": 0.10262
}

Semantic roles & 50–950 ramp

primary
#9C2193
secondary
#58C160
accent
#E84C40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2193

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

Preview Lab → · Contrast checker → · Palette generator →

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