#9D2DB6#9D2DB6

#9D2DB6 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.215 H 319.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9D2DB6
RGBrgb(157, 45, 182)
HSLhsl(289, 60%, 45%)
HSVhsv(289, 75%, 71%)
CMYKcmyk(13.7%, 75.3%, 0%, 28.6%)
CIE-LABlab(41.88, 63.37, -49.64)
CIE-LCHlch(41.88, 80.50, 321.93°)
OKLaboklab(52.7% 0.1631 -0.1393)
OKLCHoklch(52.7% 0.215 319.5)
XYZxyz(23.2854, 12.4234, 45.4183)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DB6 #46B62D
analogous
#592DB6 #9D2DB6 #B62D8B
triadic
#9D2DB6 #B69D2D #2DB69D
tetradic
#9D2DB6 #B6592D #46B62D #2D8BB6
square
#9D2DB6 #B6592D #46B62D #2D8BB6
split-complementary
#9D2DB6 #8BB62D #2DB659
monochromatic
#481554 #732185 #9D2DB6 #BB4DD3 #CD7EDF

Accessibility & contrast

On white

6.03
#9D2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9D2DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DB6
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DB6#FFFFFF#000000##FFFFFF
##9D2DB61.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#3867B3
Tritanopia (blue-blind)
#9D4970
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d2db6;
/* rgb */ color: rgb(157, 45, 182);
/* oklch */ color: oklch(52.7% 0.215 319.5);
Tailwind
colors: {
  custom: {
    50: '#be72cd',
    500: '#9d2db6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2db6;
$custom-light: #be72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2db6",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 289.051,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52701,
    "c": 0.21451,
    "h": 319.5
  },
  "luminance": 0.12422
}

Semantic roles & 50–950 ramp

primary
#9D2DB6
secondary
#86C877
accent
#E34461
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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