#9D2DC2#9D2DC2

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

Color values

HEX#9D2DC2
RGBrgb(157, 45, 194)
HSLhsl(285, 62%, 47%)
HSVhsv(285, 77%, 76%)
CMYKcmyk(19.1%, 76.8%, 0%, 23.9%)
CIE-LABlab(42.67, 65.65, -55.40)
CIE-LCHlch(42.67, 85.90, 319.84°)
OKLaboklab(53.51% 0.1616 -0.1562)
OKLCHoklch(53.51% 0.225 316)
XYZxyz(24.5791, 12.9409, 52.2316)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DC2 #52C22D
analogous
#532DC2 #9D2DC2 #C22D9C
triadic
#9D2DC2 #C29D2D #2DC29D
tetradic
#9D2DC2 #C2532D #52C22D #2D9CC2
square
#9D2DC2 #C2532D #52C22D #2D9CC2
split-complementary
#9D2DC2 #9CC22D #2DC253
monochromatic
#4D165F #752190 #9D2DC2 #B755D7 #CC86E3

Accessibility & contrast

On white

5.85
#9D2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D2DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DC2
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DC2#FFFFFF#000000##FFFFFF
##9D2DC21.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#9A4F77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2dc2;
/* rgb */ color: rgb(157, 45, 194);
/* oklch */ color: oklch(53.5% 0.225 316.0);
Tailwind
colors: {
  custom: {
    50: '#be73d5',
    500: '#9d2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dc2;
$custom-light: #be73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dc2",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 285.101,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53514,
    "c": 0.22474,
    "h": 316
  },
  "luminance": 0.1294
}

Semantic roles & 50–950 ramp

primary
#9D2DC2
secondary
#92CD7E
accent
#E5426B
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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