#9D2192#9D2192

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

Color values

HEX#9D2192
RGBrgb(157, 33, 146)
HSLhsl(305, 65%, 37%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 79%, 7%, 38.4%)
CIE-LABlab(38.43, 60.96, -33.56)
CIE-LCHlch(38.43, 69.58, 331.17°)
OKLaboklab(49.56% 0.1751 -0.0924)
OKLCHoklch(49.56% 0.198 332.2)
XYZxyz(19.6369, 10.3328, 28.1488)
Luminance0.1033 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2192 #219D2C
analogous
#6A219D #9D2192 #9D2154
triadic
#9D2192 #929D21 #21929D
tetradic
#9D2192 #9D6A21 #219D2C #21549D
square
#9D2192 #9D6A21 #219D2C #21549D
split-complementary
#9D2192 #549D21 #219D6A
monochromatic
#380C34 #6A1663 #9D2192 #D02CC1 #DD5CD1

Accessibility & contrast

On white

6.85
#9D2192 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2192 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2192
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2192#FFFFFF#000000##FFFFFF
##9D21921.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F95
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A43159
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9d2192;
/* rgb */ color: rgb(157, 33, 146);
/* oklch */ color: oklch(49.6% 0.198 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb2',
    500: '#9d2192',
    950: '#000000',
  },
}
SCSS
$custom: #9d2192;
$custom-light: #be6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2192",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 305.323,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49558,
    "c": 0.19801,
    "h": 332.2
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#9D2192
secondary
#59C162
accent
#E84F40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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