#9D2C9C#9D2C9C

#9D2C9C is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.194 H 328.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9D2C9C
RGBrgb(157, 44, 156)
HSLhsl(301, 56%, 39%)
HSVhsv(301, 72%, 62%)
CMYKcmyk(0%, 72%, 0.6%, 38.4%)
CIE-LABlab(40.20, 59.10, -36.83)
CIE-LCHlch(40.20, 69.64, 328.07°)
OKLaboklab(51% 0.1653 -0.1019)
OKLCHoklch(51% 0.194 328.3)
XYZxyz(20.8058, 11.3713, 32.5451)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C9C #2C9D2D
analogous
#662C9D #9D2C9C #9D2C64
triadic
#9D2C9C #9C9D2C #2C9C9D
tetradic
#9D2C9C #9D662C #2C9D2D #2C649D
square
#9D2C9C #9D662C #2C9D2D #2C649D
split-complementary
#9D2C9C #649D2C #2C9D66
monochromatic
#3D113D #6D1F6D #9D2C9C #C93DC8 #D66DD5

Accessibility & contrast

On white

6.41
#9D2C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9D2C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C9C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C9C#FFFFFF#000000##FFFFFF
##9D2C9C1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19559F
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#A23D61
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d2c9c;
/* rgb */ color: rgb(157, 44, 156);
/* oklch */ color: oklch(51.0% 0.194 328.3);
Tailwind
colors: {
  custom: {
    50: '#bd71ba',
    500: '#9d2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c9c;
$custom-light: #bd71ba;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c9c",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 300.531,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51,
    "c": 0.19421,
    "h": 328.3
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#9D2C9C
secondary
#68BD68
accent
#E04A48
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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