#9C209D#9C209D

#9C209D is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.207 H 327.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9C209D
RGBrgb(156, 32, 157)
HSLhsl(300, 66%, 37%)
HSVhsv(300, 80%, 62%)
CMYKcmyk(0.6%, 79.6%, 0%, 38.4%)
CIE-LABlab(38.79, 62.78, -39.68)
CIE-LCHlch(38.79, 74.27, 327.70°)
OKLaboklab(49.98% 0.1748 -0.1102)
OKLCHoklch(49.98% 0.207 327.8)
XYZxyz(20.3123, 10.5368, 32.8557)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C209D #219D20
analogous
#5E209D #9C209D #9D2060
triadic
#9C209D #9D9C20 #209D9C
tetradic
#9C209D #9D5E20 #219D20 #20609D
square
#9C209D #9D5E20 #219D20 #20609D
split-complementary
#9C209D #609D20 #209D5E
monochromatic
#370B37 #69166A #9C209D #CF2AD0 #DC5ADD

Accessibility & contrast

On white

6.76
#9C209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9C209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C209D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C209D#FFFFFF#000000##FFFFFF
##9C209D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A1365F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9c209d;
/* rgb */ color: rgb(156, 32, 157);
/* oklch */ color: oklch(50.0% 0.207 327.8);
Tailwind
colors: {
  custom: {
    50: '#bd6cba',
    500: '#9c209d',
    950: '#000000',
  },
}
SCSS
$custom: #9c209d;
$custom-light: #bd6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9c209d",
  "rgb": {
    "r": 156,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 299.52,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4998,
    "c": 0.20659,
    "h": 327.8
  },
  "luminance": 0.10535
}

Semantic roles & 50–950 ramp

primary
#9C209D
secondary
#58C157
accent
#E93F40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81

Preview Lab

Preview with #9C209D

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

Preview Lab → · Contrast checker → · Palette generator →

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