#9D2097#9D2097

#9D2097 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.203 H 330.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2097
RGBrgb(157, 32, 151)
HSLhsl(303, 66%, 37%)
HSVhsv(303, 80%, 62%)
CMYKcmyk(0%, 79.6%, 3.8%, 38.4%)
CIE-LABlab(38.62, 62.02, -36.31)
CIE-LCHlch(38.62, 71.87, 329.65°)
OKLaboklab(49.78% 0.176 -0.1003)
OKLCHoklch(49.78% 0.203 330.3)
XYZxyz(20.0070, 10.4371, 30.2330)
Luminance0.1043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2097 #209D26
analogous
#65209D #9D2097 #9D2059
triadic
#9D2097 #979D20 #20979D
tetradic
#9D2097 #9D6520 #209D26 #20599D
square
#9D2097 #9D6520 #209D26 #20599D
split-complementary
#9D2097 #599D20 #209D65
monochromatic
#370B35 #6A1666 #9D2097 #D02AC8 #DD5AD7

Accessibility & contrast

On white

6.80
#9D2097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2097
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2097#FFFFFF#000000##FFFFFF
##9D20971.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A509A
Deuteranopia (green-blind)
#496194
Tritanopia (blue-blind)
#A3335B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2097;
/* rgb */ color: rgb(157, 32, 151);
/* oklch */ color: oklch(49.8% 0.203 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6cb6',
    500: '#9d2097',
    950: '#000000',
  },
}
SCSS
$custom: #9d2097;
$custom-light: #be6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2097",
  "rgb": {
    "r": 157,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 302.88,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.20258,
    "h": 330.3
  },
  "luminance": 0.10435
}

Semantic roles & 50–950 ramp

primary
#9D2097
secondary
#57C15C
accent
#E9473F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2097

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

Preview Lab → · Contrast checker → · Palette generator →

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