#9D2393#9D2393

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

Color values

HEX#9D2393
RGBrgb(157, 35, 147)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 62%)
CMYKcmyk(0%, 77.7%, 6.4%, 38.4%)
CIE-LABlab(38.69, 60.54, -33.77)
CIE-LCHlch(38.69, 69.32, 330.85°)
OKLaboklab(49.76% 0.1735 -0.093)
OKLCHoklch(49.76% 0.197 331.8)
XYZxyz(19.7722, 10.4784, 28.5793)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2393 #239D2D
analogous
#6A239D #9D2393 #9D2356
triadic
#9D2393 #939D23 #23939D
tetradic
#9D2393 #9D6A23 #239D2D #23569D
square
#9D2393 #9D6A23 #239D2D #23569D
split-complementary
#9D2393 #569D23 #239D6A
monochromatic
#390D35 #6B1864 #9D2393 #CF2EC2 #DB5FD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2393#FFFFFF#000000##FFFFFF
##9D23931.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)
#185096
Deuteranopia (green-blind)
#4C6190
Tritanopia (blue-blind)
#A4325A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2393;
/* rgb */ color: rgb(157, 35, 147);
/* oklch */ color: oklch(49.8% 0.197 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6db3',
    500: '#9d2393',
    950: '#000000',
  },
}
SCSS
$custom: #9d2393;
$custom-light: #be6db3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2393",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 304.918,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.19684,
    "h": 331.8
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#9D2393
secondary
#5CC064
accent
#E74F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2393

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

Preview Lab → · Contrast checker → · Palette generator →

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