#9C2198#9C2198

#9C2198 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.202 H 329.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9C2198
RGBrgb(156, 33, 152)
HSLhsl(302, 65%, 37%)
HSVhsv(302, 79%, 61%)
CMYKcmyk(0%, 78.8%, 2.6%, 38.8%)
CIE-LABlab(38.59, 61.69, -36.97)
CIE-LCHlch(38.59, 71.92, 329.07°)
OKLaboklab(49.75% 0.1741 -0.1023)
OKLCHoklch(49.75% 0.202 329.6)
XYZxyz(19.9215, 10.4242, 30.6625)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2198 #219C25
analogous
#62219C #9C2198 #9C215B
triadic
#9C2198 #989C21 #21989C
tetradic
#9C2198 #9C6221 #219C25 #215B9C
square
#9C2198 #9C6221 #219C25 #215B9C
split-complementary
#9C2198 #5B9C21 #219C62
monochromatic
#370C36 #691667 #9C2198 #CF2CC9 #DC5BD8

Accessibility & contrast

On white

6.81
#9C2198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9C2198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2198
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2198#FFFFFF#000000##FFFFFF
##9C21981.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08509B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#A2345C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c2198;
/* rgb */ color: rgb(156, 33, 152);
/* oklch */ color: oklch(49.7% 0.202 329.6);
Tailwind
colors: {
  custom: {
    50: '#bd6cb7',
    500: '#9c2198',
    950: '#000000',
  },
}
SCSS
$custom: #9c2198;
$custom-light: #bd6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2198",
  "rgb": {
    "r": 156,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 301.951,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49747,
    "c": 0.20195,
    "h": 329.6
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#9C2198
secondary
#58C15C
accent
#E84540
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9C2198

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

Preview Lab → · Contrast checker → · Palette generator →

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