#9D2DC4#9D2DC4

#9D2DC4 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.226 H 315.4°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9D2DC4
RGBrgb(157, 45, 196)
HSLhsl(285, 63%, 47%)
HSVhsv(285, 77%, 77%)
CMYKcmyk(19.9%, 77%, 0%, 23.1%)
CIE-LABlab(42.81, 66.03, -56.35)
CIE-LCHlch(42.81, 86.81, 319.53°)
OKLaboklab(53.65% 0.1613 -0.159)
OKLCHoklch(53.65% 0.226 315.4)
XYZxyz(24.8052, 13.0313, 53.4225)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DC4 #54C42D
analogous
#512DC4 #9D2DC4 #C42DA0
triadic
#9D2DC4 #C49D2D #2DC49D
tetradic
#9D2DC4 #C4512D #54C42D #2DA0C4
square
#9D2DC4 #C4512D #54C42D #2DA0C4
split-complementary
#9D2DC4 #A0C42D #2DC451
monochromatic
#4D1660 #752292 #9D2DC4 #B756D8 #CC88E4

Accessibility & contrast

On white

5.82
#9D2DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9D2DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DC4
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DC4#FFFFFF#000000##FFFFFF
##9D2DC41.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2768C1
Tritanopia (blue-blind)
#9A5078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2dc4;
/* rgb */ color: rgb(157, 45, 196);
/* oklch */ color: oklch(53.7% 0.226 315.4);
Tailwind
colors: {
  custom: {
    50: '#bf73d7',
    500: '#9d2dc4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dc4;
$custom-light: #bf73d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dc4",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 284.503,
    "s": 62.656,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53653,
    "c": 0.22646,
    "h": 315.4
  },
  "luminance": 0.1303
}

Semantic roles & 50–950 ramp

primary
#9D2DC4
secondary
#94CD80
accent
#E6426C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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