#9D2297#9D2297

#9D2297 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.201 H 330.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9D2297
RGBrgb(157, 34, 151)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 78.3%, 3.8%, 38.4%)
CIE-LABlab(38.81, 61.46, -36.01)
CIE-LCHlch(38.81, 71.23, 329.64°)
OKLaboklab(49.92% 0.1744 -0.0995)
OKLCHoklch(49.92% 0.201 330.3)
XYZxyz(20.0625, 10.5481, 30.2515)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2297 #229D28
analogous
#66229D #9D2297 #9D2259
triadic
#9D2297 #979D22 #22979D
tetradic
#9D2297 #9D6622 #229D28 #22599D
square
#9D2297 #9D6622 #229D28 #22599D
split-complementary
#9D2297 #599D22 #229D66
monochromatic
#380C36 #6B1767 #9D2297 #CF2DC7 #DC5DD6

Accessibility & contrast

On white

6.75
#9D2297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9D2297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2297
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2297#FFFFFF#000000##FFFFFF
##9D22971.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2297;
/* rgb */ color: rgb(157, 34, 151);
/* oklch */ color: oklch(49.9% 0.201 330.3);
Tailwind
colors: {
  custom: {
    50: '#be6cb6',
    500: '#9d2297',
    950: '#000000',
  },
}
SCSS
$custom: #9d2297;
$custom-light: #be6cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2297",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 302.927,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49915,
    "c": 0.20075,
    "h": 330.3
  },
  "luminance": 0.10547
}

Semantic roles & 50–950 ramp

primary
#9D2297
secondary
#5AC15F
accent
#E74940
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2297

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

Preview Lab → · Contrast checker → · Palette generator →

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