#9D2295#9D2295

#9D2295 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.199 H 331.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9D2295
RGBrgb(157, 34, 149)
HSLhsl(304, 64%, 37%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 78.3%, 5.1%, 38.4%)
CIE-LABlab(38.70, 61.14, -34.97)
CIE-LCHlch(38.70, 70.44, 330.23°)
OKLaboklab(49.8% 0.1744 -0.0965)
OKLCHoklch(49.8% 0.199 331)
XYZxyz(19.9015, 10.4837, 29.4033)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2295 #229D2A
analogous
#67229D #9D2295 #9D2258
triadic
#9D2295 #959D22 #22959D
tetradic
#9D2295 #9D6722 #229D2A #22589D
square
#9D2295 #9D6722 #229D2A #22589D
split-complementary
#9D2295 #589D22 #229D67
monochromatic
#380C36 #6B1765 #9D2295 #CF2DC5 #DC5DD4

Accessibility & contrast

On white

6.78
#9D2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2295
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2295#FFFFFF#000000##FFFFFF
##9D22951.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d2295;
/* rgb */ color: rgb(157, 34, 149);
/* oklch */ color: oklch(49.8% 0.199 331.0);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9d2295',
    950: '#000000',
  },
}
SCSS
$custom: #9d2295;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2295",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 303.902,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49799,
    "c": 0.19927,
    "h": 331
  },
  "luminance": 0.10482
}

Semantic roles & 50–950 ramp

primary
#9D2295
secondary
#5AC161
accent
#E74B40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2295

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

Preview Lab → · Contrast checker → · Palette generator →

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