#9D2096#9D2096

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

Color values

HEX#9D2096
RGBrgb(157, 32, 150)
HSLhsl(303, 66%, 37%)
HSVhsv(303, 80%, 62%)
CMYKcmyk(0%, 79.6%, 4.5%, 38.4%)
CIE-LABlab(38.56, 61.86, -35.79)
CIE-LCHlch(38.56, 71.47, 329.94°)
OKLaboklab(49.72% 0.176 -0.0988)
OKLCHoklch(49.72% 0.202 330.7)
XYZxyz(19.9261, 10.4048, 29.8071)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2096 #209D27
analogous
#66209D #9D2096 #9D2058
triadic
#9D2096 #969D20 #20969D
tetradic
#9D2096 #9D6620 #209D27 #20589D
square
#9D2096 #9D6620 #209D27 #20589D
split-complementary
#9D2096 #589D20 #209D66
monochromatic
#370B35 #6A1665 #9D2096 #D02AC7 #DD5AD6

Accessibility & contrast

On white

6.82
#9D2096 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2096 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2096
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2096#FFFFFF#000000##FFFFFF
##9D20961.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D5099
Deuteranopia (green-blind)
#496193
Tritanopia (blue-blind)
#A3325B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2096;
/* rgb */ color: rgb(157, 32, 150);
/* oklch */ color: oklch(49.7% 0.202 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6cb5',
    500: '#9d2096',
    950: '#000000',
  },
}
SCSS
$custom: #9d2096;
$custom-light: #be6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2096",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 303.36,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49719,
    "c": 0.20184,
    "h": 330.7
  },
  "luminance": 0.10403
}

Semantic roles & 50–950 ramp

primary
#9D2096
secondary
#57C15D
accent
#E9483F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2096

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

Preview Lab → · Contrast checker → · Palette generator →

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