#9D2189#9D2189

#9D2189 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.192 H 335.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9D2189
RGBrgb(157, 33, 137)
HSLhsl(310, 65%, 37%)
HSVhsv(310, 79%, 62%)
CMYKcmyk(0%, 79%, 12.7%, 38.4%)
CIE-LABlab(37.96, 59.60, -28.79)
CIE-LCHlch(37.96, 66.19, 334.21°)
OKLaboklab(49.06% 0.1747 -0.0786)
OKLCHoklch(49.06% 0.192 335.8)
XYZxyz(18.9641, 10.0637, 24.6058)
Luminance0.1006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2189 #219D35
analogous
#73219D #9D2189 #9D214B
triadic
#9D2189 #899D21 #21899D
tetradic
#9D2189 #9D7321 #219D35 #214B9D
square
#9D2189 #9D7321 #219D35 #214B9D
split-complementary
#9D2189 #4B9D21 #219D73
monochromatic
#380C31 #6A165D #9D2189 #D02CB5 #DD5CC8

Accessibility & contrast

On white

6.97
#9D2189 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9D2189 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2189
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2189#FFFFFF#000000##FFFFFF
##9D21891.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224E8C
Deuteranopia (green-blind)
#506086
Tritanopia (blue-blind)
#A52B54
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9d2189;
/* rgb */ color: rgb(157, 33, 137);
/* oklch */ color: oklch(49.1% 0.192 335.8);
Tailwind
colors: {
  custom: {
    50: '#be6bac',
    500: '#9d2189',
    950: '#000000',
  },
}
SCSS
$custom: #9d2189;
$custom-light: #be6bac;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2189",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 309.677,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.19161,
    "h": 335.8
  },
  "luminance": 0.10062
}

Semantic roles & 50–950 ramp

primary
#9D2189
secondary
#59C16A
accent
#E85B40
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #9D2189

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

Preview Lab → · Contrast checker → · Palette generator →

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