#9D2291#9D2291

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

Color values

HEX#9D2291
RGBrgb(157, 34, 145)
HSLhsl(306, 64%, 37%)
HSVhsv(306, 78%, 62%)
CMYKcmyk(0%, 78.3%, 7.6%, 38.4%)
CIE-LABlab(38.48, 60.52, -32.88)
CIE-LCHlch(38.48, 68.87, 331.49°)
OKLaboklab(49.57% 0.1743 -0.0904)
OKLCHoklch(49.57% 0.196 332.6)
XYZxyz(19.5876, 10.3582, 27.7503)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2291 #229D2E
analogous
#6C229D #9D2291 #9D2253
triadic
#9D2291 #919D22 #22919D
tetradic
#9D2291 #9D6C22 #229D2E #22539D
square
#9D2291 #9D6C22 #229D2E #22539D
split-complementary
#9D2291 #539D22 #229D6C
monochromatic
#380C34 #6B1763 #9D2291 #CF2DBF #DC5DD0

Accessibility & contrast

On white

6.84
#9D2291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9D2291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2291
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2291#FFFFFF#000000##FFFFFF
##9D22911.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5094
Deuteranopia (green-blind)
#4C618E
Tritanopia (blue-blind)
#A43158
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2291;
/* rgb */ color: rgb(157, 34, 145);
/* oklch */ color: oklch(49.6% 0.196 332.6);
Tailwind
colors: {
  custom: {
    50: '#be6cb1',
    500: '#9d2291',
    950: '#000000',
  },
}
SCSS
$custom: #9d2291;
$custom-light: #be6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2291",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 305.854,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49572,
    "c": 0.19634,
    "h": 332.6
  },
  "luminance": 0.10356
}

Semantic roles & 50–950 ramp

primary
#9D2291
secondary
#5AC164
accent
#E75140
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9D2291

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

Preview Lab → · Contrast checker → · Palette generator →

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