#9D2793#9D2793

#9D2793 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.193 H 331.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9D2793
RGBrgb(157, 39, 147)
HSLhsl(305, 60%, 38%)
HSVhsv(305, 75%, 62%)
CMYKcmyk(0%, 75.2%, 6.4%, 38.4%)
CIE-LABlab(39.12, 59.31, -33.09)
CIE-LCHlch(39.12, 67.91, 330.84°)
OKLaboklab(50.07% 0.1699 -0.0911)
OKLCHoklch(50.07% 0.193 331.8)
XYZxyz(19.8966, 10.7274, 28.6208)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2793 #279D31
analogous
#6C279D #9D2793 #9D2758
triadic
#9D2793 #939D27 #27939D
tetradic
#9D2793 #9D6C27 #279D31 #27589D
square
#9D2793 #9D6C27 #279D31 #27589D
split-complementary
#9D2793 #589D27 #279D6C
monochromatic
#3B0F37 #6C1B65 #9D2793 #CD35C0 #D966CF

Accessibility & contrast

On white

6.68
#9D2793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9D2793 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2793
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2793#FFFFFF#000000##FFFFFF
##9D27931.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5296
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A4355B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2793;
/* rgb */ color: rgb(157, 39, 147);
/* oklch */ color: oklch(50.1% 0.193 331.8);
Tailwind
colors: {
  custom: {
    50: '#be6eb3',
    500: '#9d2793',
    950: '#000000',
  },
}
SCSS
$custom: #9d2793;
$custom-light: #be6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2793",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 305.085,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50065,
    "c": 0.19278,
    "h": 331.8
  },
  "luminance": 0.10726
}

Semantic roles & 50–950 ramp

primary
#9D2793
secondary
#61BF69
accent
#E35244
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2793

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

Preview Lab → · Contrast checker → · Palette generator →

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