#9D2197#9D2197

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

Color values

HEX#9D2197
RGBrgb(157, 33, 151)
HSLhsl(303, 65%, 37%)
HSVhsv(303, 79%, 62%)
CMYKcmyk(0%, 79%, 3.8%, 38.4%)
CIE-LABlab(38.71, 61.74, -36.16)
CIE-LCHlch(38.71, 71.55, 329.64°)
OKLaboklab(49.85% 0.1752 -0.0999)
OKLCHoklch(49.85% 0.202 330.3)
XYZxyz(20.0343, 10.4918, 30.2421)
Luminance0.1049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2197 #219D27
analogous
#65219D #9D2197 #9D2159
triadic
#9D2197 #979D21 #21979D
tetradic
#9D2197 #9D6521 #219D27 #21599D
square
#9D2197 #9D6521 #219D27 #21599D
split-complementary
#9D2197 #599D21 #219D65
monochromatic
#380C36 #6A1666 #9D2197 #D02CC8 #DD5CD6

Accessibility & contrast

On white

6.78
#9D2197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2197
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2197#FFFFFF#000000##FFFFFF
##9D21971.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D519A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A3335C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2197;
/* rgb */ color: rgb(157, 33, 151);
/* oklch */ color: oklch(49.8% 0.202 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6cb6',
    500: '#9d2197',
    950: '#000000',
  },
}
SCSS
$custom: #9d2197;
$custom-light: #be6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2197",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 302.903,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49846,
    "c": 0.20168,
    "h": 330.3
  },
  "luminance": 0.1049
}

Semantic roles & 50–950 ramp

primary
#9D2197
secondary
#59C15E
accent
#E84840
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2197

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

Preview Lab → · Contrast checker → · Palette generator →

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