#9D2196#9D2196

#9D2196 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.201 H 330.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2196
RGBrgb(157, 33, 150)
HSLhsl(303, 65%, 37%)
HSVhsv(303, 79%, 62%)
CMYKcmyk(0%, 79%, 4.5%, 38.4%)
CIE-LABlab(38.65, 61.58, -35.64)
CIE-LCHlch(38.65, 71.16, 329.94°)
OKLaboklab(49.79% 0.1752 -0.0984)
OKLCHoklch(49.79% 0.201 330.7)
XYZxyz(19.9535, 10.4594, 29.8162)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2196 #219D28
analogous
#66219D #9D2196 #9D2158
triadic
#9D2196 #969D21 #21969D
tetradic
#9D2196 #9D6621 #219D28 #21589D
square
#9D2196 #9D6621 #219D28 #21589D
split-complementary
#9D2196 #589D21 #219D66
monochromatic
#380C35 #6A1666 #9D2196 #D02CC6 #DD5CD5

Accessibility & contrast

On white

6.79
#9D2196 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9D2196 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2196
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2196#FFFFFF#000000##FFFFFF
##9D21961.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5099
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A3335B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2196;
/* rgb */ color: rgb(157, 33, 150);
/* oklch */ color: oklch(49.8% 0.201 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6cb5',
    500: '#9d2196',
    950: '#000000',
  },
}
SCSS
$custom: #9d2196;
$custom-light: #be6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2196",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 303.387,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49787,
    "c": 0.20094,
    "h": 330.7
  },
  "luminance": 0.10458
}

Semantic roles & 50–950 ramp

primary
#9D2196
secondary
#59C15F
accent
#E84940
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2196

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

Preview Lab → · Contrast checker → · Palette generator →

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