#9D2293#9D2293

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

Color values

HEX#9D2293
RGBrgb(157, 34, 147)
HSLhsl(305, 64%, 37%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 78.3%, 6.4%, 38.4%)
CIE-LABlab(38.59, 60.83, -33.92)
CIE-LCHlch(38.59, 69.65, 330.85°)
OKLaboklab(49.69% 0.1743 -0.0934)
OKLCHoklch(49.69% 0.198 331.8)
XYZxyz(19.7432, 10.4204, 28.5696)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2293 #229D2C
analogous
#69229D #9D2293 #9D2256
triadic
#9D2293 #939D22 #22939D
tetradic
#9D2293 #9D6922 #229D2C #22569D
square
#9D2293 #9D6922 #229D2C #22569D
split-complementary
#9D2293 #569D22 #229D69
monochromatic
#380C35 #6B1764 #9D2293 #CF2DC2 #DC5DD2

Accessibility & contrast

On white

6.81
#9D2293 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2293
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2293#FFFFFF#000000##FFFFFF
##9D22931.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175096
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A4325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2293;
/* rgb */ color: rgb(157, 34, 147);
/* oklch */ color: oklch(49.7% 0.198 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6cb3',
    500: '#9d2293',
    950: '#000000',
  },
}
SCSS
$custom: #9d2293;
$custom-light: #be6cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2293",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 304.878,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49685,
    "c": 0.1978,
    "h": 331.8
  },
  "luminance": 0.10419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D2293

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

Preview Lab → · Contrast checker → · Palette generator →

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