#9D2792#9D2792

#9D2792 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.192 H 332.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9D2792
RGBrgb(157, 39, 146)
HSLhsl(306, 60%, 38%)
HSVhsv(306, 75%, 62%)
CMYKcmyk(0%, 75.2%, 7%, 38.4%)
CIE-LABlab(39.06, 59.15, -32.56)
CIE-LCHlch(39.06, 67.52, 331.17°)
OKLaboklab(50.01% 0.1699 -0.0895)
OKLCHoklch(50.01% 0.192 332.2)
XYZxyz(19.8185, 10.6961, 28.2093)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2792 #279D32
analogous
#6D279D #9D2792 #9D2757
triadic
#9D2792 #929D27 #27929D
tetradic
#9D2792 #9D6D27 #279D32 #27579D
square
#9D2792 #9D6D27 #279D32 #27579D
split-complementary
#9D2792 #579D27 #279D6D
monochromatic
#3B0F37 #6C1B64 #9D2792 #CD35BF #D966CE

Accessibility & contrast

On white

6.69
#9D2792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9D2792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2792
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2792#FFFFFF#000000##FFFFFF
##9D27921.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5195
Deuteranopia (green-blind)
#4E628F
Tritanopia (blue-blind)
#A4345A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9d2792;
/* rgb */ color: rgb(157, 39, 146);
/* oklch */ color: oklch(50.0% 0.192 332.2);
Tailwind
colors: {
  custom: {
    50: '#be6eb2',
    500: '#9d2792',
    950: '#000000',
  },
}
SCSS
$custom: #9d2792;
$custom-light: #be6eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2792",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 305.593,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.19203,
    "h": 332.2
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#9D2792
secondary
#61BF6A
accent
#E35344
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2792

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

Preview Lab → · Contrast checker → · Palette generator →

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