#9D2296#9D2296

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

Color values

HEX#9D2296
RGBrgb(157, 34, 150)
HSLhsl(303, 64%, 37%)
HSVhsv(303, 78%, 62%)
CMYKcmyk(0%, 78.3%, 4.5%, 38.4%)
CIE-LABlab(38.75, 61.30, -35.49)
CIE-LCHlch(38.75, 70.83, 329.93°)
OKLaboklab(49.86% 0.1744 -0.098)
OKLCHoklch(49.86% 0.2 330.7)
XYZxyz(19.9816, 10.5158, 29.8256)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2296 #229D29
analogous
#67229D #9D2296 #9D2258
triadic
#9D2296 #969D22 #22969D
tetradic
#9D2296 #9D6722 #229D29 #22589D
square
#9D2296 #9D6722 #229D29 #22589D
split-complementary
#9D2296 #589D22 #229D67
monochromatic
#380C36 #6B1766 #9D2296 #CF2DC6 #DC5DD5

Accessibility & contrast

On white

6.77
#9D2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2296
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2296#FFFFFF#000000##FFFFFF
##9D22961.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#4A6193
Tritanopia (blue-blind)
#A3335B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2296;
/* rgb */ color: rgb(157, 34, 150);
/* oklch */ color: oklch(49.9% 0.200 330.7);
Tailwind
colors: {
  custom: {
    50: '#be6cb5',
    500: '#9d2296',
    950: '#000000',
  },
}
SCSS
$custom: #9d2296;
$custom-light: #be6cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2296",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 303.415,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49857,
    "c": 0.20001,
    "h": 330.7
  },
  "luminance": 0.10514
}

Semantic roles & 50–950 ramp

primary
#9D2296
secondary
#5AC160
accent
#E74A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2296

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

Preview Lab → · Contrast checker → · Palette generator →

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