#9D2193#9D2193

#9D2193 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.199 H 331.8°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9D2193
RGBrgb(157, 33, 147)
HSLhsl(305, 65%, 37%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 79%, 6.4%, 38.4%)
CIE-LABlab(38.49, 61.11, -34.08)
CIE-LCHlch(38.49, 69.97, 330.85°)
OKLaboklab(49.61% 0.1752 -0.0939)
OKLCHoklch(49.61% 0.199 331.8)
XYZxyz(19.7150, 10.3641, 28.5602)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2193 #219D2B
analogous
#69219D #9D2193 #9D2155
triadic
#9D2193 #939D21 #21939D
tetradic
#9D2193 #9D6921 #219D2B #21559D
square
#9D2193 #9D6921 #219D2B #21559D
split-complementary
#9D2193 #559D21 #219D69
monochromatic
#380C34 #6A1664 #9D2193 #D02CC2 #DD5CD2

Accessibility & contrast

On white

6.84
#9D2193 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2193
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2193#FFFFFF#000000##FFFFFF
##9D21931.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155096
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A43159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2193;
/* rgb */ color: rgb(157, 33, 147);
/* oklch */ color: oklch(49.6% 0.199 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6cb3',
    500: '#9d2193',
    950: '#000000',
  },
}
SCSS
$custom: #9d2193;
$custom-light: #be6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2193",
  "rgb": {
    "r": 157,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 304.839,
    "s": 65.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49615,
    "c": 0.19874,
    "h": 331.8
  },
  "luminance": 0.10362
}

Semantic roles & 50–950 ramp

primary
#9D2193
secondary
#59C161
accent
#E84D40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2193

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

Preview Lab → · Contrast checker → · Palette generator →

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