#9D2294#9D2294

#9D2294 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.199 H 331.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9D2294
RGBrgb(157, 34, 148)
HSLhsl(304, 64%, 37%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 78.3%, 5.7%, 38.4%)
CIE-LABlab(38.64, 60.99, -34.45)
CIE-LCHlch(38.64, 70.04, 330.54°)
OKLaboklab(49.74% 0.1744 -0.095)
OKLCHoklch(49.74% 0.199 331.4)
XYZxyz(19.8220, 10.4519, 28.9847)
Luminance0.1045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2294 #229D2B
analogous
#68229D #9D2294 #9D2257
triadic
#9D2294 #949D22 #22949D
tetradic
#9D2294 #9D6822 #229D2B #22579D
square
#9D2294 #9D6822 #229D2B #22579D
split-complementary
#9D2294 #579D22 #229D68
monochromatic
#380C35 #6B1765 #9D2294 #CF2DC3 #DC5DD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2294#FFFFFF#000000##FFFFFF
##9D22941.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)
#155097
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#A4325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2294;
/* rgb */ color: rgb(157, 34, 148);
/* oklch */ color: oklch(49.7% 0.199 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6cb4',
    500: '#9d2294',
    950: '#000000',
  },
}
SCSS
$custom: #9d2294;
$custom-light: #be6cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2294",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 304.39,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49742,
    "c": 0.19854,
    "h": 331.4
  },
  "luminance": 0.1045
}

Semantic roles & 50–950 ramp

primary
#9D2294
secondary
#5AC162
accent
#E74D40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2294

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

Preview Lab → · Contrast checker → · Palette generator →

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