#9D2292#9D2292

#9D2292 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.197 H 332.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2292
RGBrgb(157, 34, 146)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78.3%, 7%, 38.4%)
CIE-LABlab(38.53, 60.67, -33.40)
CIE-LCHlch(38.53, 69.26, 331.17°)
OKLaboklab(49.63% 0.1743 -0.0919)
OKLCHoklch(49.63% 0.197 332.2)
XYZxyz(19.6650, 10.3891, 28.1582)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2292 #229D2D
analogous
#6B229D #9D2292 #9D2254
triadic
#9D2292 #929D22 #22929D
tetradic
#9D2292 #9D6B22 #229D2D #22549D
square
#9D2292 #9D6B22 #229D2D #22549D
split-complementary
#9D2292 #549D22 #229D6B
monochromatic
#380C34 #6B1763 #9D2292 #CF2DC1 #DC5DD1

Accessibility & contrast

On white

6.82
#9D2292 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9D2292 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2292
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2292#FFFFFF#000000##FFFFFF
##9D22921.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185095
Deuteranopia (green-blind)
#4C618F
Tritanopia (blue-blind)
#A43159
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2292;
/* rgb */ color: rgb(157, 34, 146);
/* oklch */ color: oklch(49.6% 0.197 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6cb2',
    500: '#9d2292',
    950: '#000000',
  },
}
SCSS
$custom: #9d2292;
$custom-light: #be6cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2292",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 305.366,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.19708,
    "h": 332.2
  },
  "luminance": 0.10387
}

Semantic roles & 50–950 ramp

primary
#9D2292
secondary
#5AC163
accent
#E74F40
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2292

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

Preview Lab → · Contrast checker → · Palette generator →

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