#9D2C97#9D2C97

#9D2C97 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.190 H 330.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9D2C97
RGBrgb(157, 44, 151)
HSLhsl(303, 56%, 39%)
HSVhsv(303, 72%, 62%)
CMYKcmyk(0%, 72%, 3.8%, 38.4%)
CIE-LABlab(39.92, 58.27, -34.24)
CIE-LCHlch(39.92, 67.58, 329.56°)
OKLaboklab(50.71% 0.1652 -0.0944)
OKLCHoklch(50.71% 0.19 330.2)
XYZxyz(20.3911, 11.2054, 30.3610)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2C97 #2C9D32
analogous
#6B2C9D #9D2C97 #9D2C5F
triadic
#9D2C97 #979D2C #2C979D
tetradic
#9D2C97 #9D6B2C #2C9D32 #2C5F9D
square
#9D2C97 #9D6B2C #2C9D32 #2C5F9D
split-complementary
#9D2C97 #5F9D2C #2C9D6B
monochromatic
#3D113B #6D1F69 #9D2C97 #C93DC1 #D66DD1

Accessibility & contrast

On white

6.48
#9D2C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D2C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2C97
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2C97#FFFFFF#000000##FFFFFF
##9D2C971.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#A33A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2c97;
/* rgb */ color: rgb(157, 44, 151);
/* oklch */ color: oklch(50.7% 0.190 330.2);
Tailwind
colors: {
  custom: {
    50: '#bd70b6',
    500: '#9d2c97',
    950: '#000000',
  },
}
SCSS
$custom: #9d2c97;
$custom-light: #bd70b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2c97",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 303.186,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50714,
    "c": 0.19028,
    "h": 330.2
  },
  "luminance": 0.11204
}

Semantic roles & 50–950 ramp

primary
#9D2C97
secondary
#68BD6C
accent
#E05048
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9D2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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