#9D2CC1#9D2CC1

#9D2CC1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.225 H 316.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9D2CC1
RGBrgb(157, 44, 193)
HSLhsl(286, 63%, 46%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(18.7%, 77.2%, 0%, 24.3%)
CIE-LABlab(42.49, 65.78, -55.11)
CIE-LCHlch(42.49, 85.82, 320.05°)
OKLaboklab(53.36% 0.1626 -0.1553)
OKLCHoklch(53.36% 0.225 316.3)
XYZxyz(24.4295, 12.8207, 51.6296)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2CC1 #50C12C
analogous
#522CC1 #9D2CC1 #C12C9B
triadic
#9D2CC1 #C19D2C #2CC19D
tetradic
#9D2CC1 #C1522C #50C12C #2C9BC1
square
#9D2CC1 #C1522C #50C12C #2C9BC1
split-complementary
#9D2CC1 #9BC12C #2CC152
monochromatic
#4C155D #74218F #9D2CC1 #B853D8 #CC84E3

Accessibility & contrast

On white

5.89
#9D2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9D2CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2CC1
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2CC1#FFFFFF#000000##FFFFFF
##9D2CC11.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#2B67BE
Tritanopia (blue-blind)
#9B4E76
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2cc1;
/* rgb */ color: rgb(157, 44, 193);
/* oklch */ color: oklch(53.4% 0.225 316.3);
Tailwind
colors: {
  custom: {
    50: '#be72d4',
    500: '#9d2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2cc1;
$custom-light: #be72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2cc1",
  "rgb": {
    "r": 157,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 285.503,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53364,
    "c": 0.22486,
    "h": 316.3
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#9D2CC1
secondary
#90CC7D
accent
#E6426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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