#9D2DCD#9D2DCD

#9D2DCD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.3% C 0.234 H 313.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9D2DCD
RGBrgb(157, 45, 205)
HSLhsl(282, 64%, 49%)
HSVhsv(282, 78%, 80%)
CMYKcmyk(23.4%, 78%, 0%, 19.6%)
CIE-LABlab(43.44, 67.79, -60.55)
CIE-LCHlch(43.44, 90.90, 318.23°)
OKLaboklab(54.29% 0.1597 -0.1713)
OKLCHoklch(54.29% 0.234 313)
XYZxyz(25.8605, 13.4535, 58.9803)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DCD #5DCD2D
analogous
#4D2DCD #9D2DCD #CD2DAD
triadic
#9D2DCD #CD9D2D #2DCD9D
tetradic
#9D2DCD #CD4D2D #5DCD2D #2DADCD
square
#9D2DCD #CD4D2D #5DCD2D #2DADCD
split-complementary
#9D2DCD #ADCD2D #2DCD4D
monochromatic
#501769 #77229B #9D2DCD #B55CDB #CC8EE6

Accessibility & contrast

On white

5.69
#9D2DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9D2DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DCD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DCD#FFFFFF#000000##FFFFFF
##9D2DCD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D1
Deuteranopia (green-blind)
#1569CA
Tritanopia (blue-blind)
#98547D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d2dcd;
/* rgb */ color: rgb(157, 45, 205);
/* oklch */ color: oklch(54.3% 0.234 313.0);
Tailwind
colors: {
  custom: {
    50: '#bf73dd',
    500: '#9d2dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dcd;
$custom-light: #bf73dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dcd",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 205
  },
  "hsl": {
    "h": 282,
    "s": 64,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54294,
    "c": 0.23422,
    "h": 313
  },
  "luminance": 0.13453
}

Semantic roles & 50–950 ramp

primary
#9D2DCD
secondary
#9CD185
accent
#E74173
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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