#9D2195#9D2195

#9D2195 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.200 H 331.0°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9D2195
RGBrgb(157, 33, 149)
HSLhsl(304, 65%, 37%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 79%, 5.1%, 38.4%)
CIE-LABlab(38.60, 61.43, -35.12)
CIE-LCHlch(38.60, 70.76, 330.24°)
OKLaboklab(49.73% 0.1752 -0.0969)
OKLCHoklch(49.73% 0.2 331)
XYZxyz(19.8733, 10.4274, 29.3939)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2195 #219D29
analogous
#67219D #9D2195 #9D2157
triadic
#9D2195 #959D21 #21959D
tetradic
#9D2195 #9D6721 #219D29 #21579D
square
#9D2195 #9D6721 #219D29 #21579D
split-complementary
#9D2195 #579D21 #219D67
monochromatic
#380C35 #6A1665 #9D2195 #D02CC5 #DD5CD4

Accessibility & contrast

On white

6.81
#9D2195 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2195
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2195#FFFFFF#000000##FFFFFF
##9D21951.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115098
Deuteranopia (green-blind)
#4A6192
Tritanopia (blue-blind)
#A3325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2195;
/* rgb */ color: rgb(157, 33, 149);
/* oklch */ color: oklch(49.7% 0.200 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9d2195',
    950: '#000000',
  },
}
SCSS
$custom: #9d2195;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2195",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 303.871,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49729,
    "c": 0.20021,
    "h": 331
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#9D2195
secondary
#59C160
accent
#E84A40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2195

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

Preview Lab → · Contrast checker → · Palette generator →

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