#9D2CC2#9D2CC2

#9D2CC2 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.226 H 316.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D2CC2
RGBrgb(157, 44, 194)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19.1%, 77.3%, 0%, 23.9%)
CIE-LABlab(42.56, 65.97, -55.58)
CIE-LCHlch(42.56, 86.27, 319.89°)
OKLaboklab(53.43% 0.1624 -0.1567)
OKLCHoklch(53.43% 0.226 316)
XYZxyz(24.5414, 12.8655, 52.2190)
Luminance0.1286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CC2 #51C22C
analogous
#522CC2 #9D2CC2 #C22C9C
triadic
#9D2CC2 #C29D2C #2CC29D
tetradic
#9D2CC2 #C2522C #51C22C #2C9CC2
square
#9D2CC2 #C2522C #51C22C #2C9CC2
split-complementary
#9D2CC2 #9CC22C #2CC252
monochromatic
#4C155E #752190 #9D2CC2 #B753D8 #CC85E3

Accessibility & contrast

On white

5.88
#9D2CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9D2CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CC2#FFFFFF#000000##FFFFFF
##9D2CC21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2967BF
Tritanopia (blue-blind)
#9A4E77
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2cc2;
/* rgb */ color: rgb(157, 44, 194);
/* oklch */ color: oklch(53.4% 0.226 316.0);
Tailwind
colors: {
  custom: {
    50: '#be72d5',
    500: '#9d2cc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cc2;
$custom-light: #be72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cc2",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 285.2,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53434,
    "c": 0.22572,
    "h": 316
  },
  "luminance": 0.12865
}

Semantic roles & 50–950 ramp

primary
#9D2CC2
secondary
#91CD7D
accent
#E6426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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