#9D2DD0#9D2DD0

#9D2DD0 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.237 H 312.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9D2DD0
RGBrgb(157, 45, 208)
HSLhsl(281, 64%, 50%)
HSVhsv(281, 78%, 82%)
CMYKcmyk(24.5%, 78.4%, 0%, 18.4%)
CIE-LABlab(43.65, 68.39, -61.94)
CIE-LCHlch(43.65, 92.27, 317.83°)
OKLaboklab(54.51% 0.1591 -0.1754)
OKLCHoklch(54.51% 0.237 312.2)
XYZxyz(26.2261, 13.5997, 60.9058)
Luminance0.1360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DD0 #60D02D
analogous
#4C2DD0 #9D2DD0 #D02DB2
triadic
#9D2DD0 #D09D2D #2DD09D
tetradic
#9D2DD0 #D04C2D #60D02D #2DB2D0
square
#9D2DD0 #D04C2D #60D02D #2DB2D0
split-complementary
#9D2DD0 #B2D02D #2DD04C
monochromatic
#51176B #77229E #9D2DD0 #B55EDC #CC90E7

Accessibility & contrast

On white

5.65
#9D2DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D2DD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DD0
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DD0#FFFFFF#000000##FFFFFF
##9D2DD01.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D4
Deuteranopia (green-blind)
#0969CD
Tritanopia (blue-blind)
#97557F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d2dd0;
/* rgb */ color: rgb(157, 45, 208);
/* oklch */ color: oklch(54.5% 0.237 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf73df',
    500: '#9d2dd0',
    950: '#000000',
  },
}
SCSS
$custom: #9d2dd0;
$custom-light: #bf73df;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2dd0",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 208
  },
  "hsl": {
    "h": 281.227,
    "s": 64.427,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54512,
    "c": 0.23682,
    "h": 312.2
  },
  "luminance": 0.13599
}

Semantic roles & 50–950 ramp

primary
#9D2DD0
secondary
#9ED287
accent
#E74075
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2DD0

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

Preview Lab → · Contrast checker → · Palette generator →

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