#9D2DB1#9D2DB1

#9D2DB1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 321.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9D2DB1
RGBrgb(157, 45, 177)
HSLhsl(291, 59%, 44%)
HSVhsv(291, 75%, 69%)
CMYKcmyk(11.3%, 74.6%, 0%, 30.6%)
CIE-LABlab(41.56, 62.45, -47.20)
CIE-LCHlch(41.56, 78.28, 322.92°)
OKLaboklab(52.38% 0.1636 -0.1322)
OKLCHoklch(52.38% 0.21 321.1)
XYZxyz(22.7779, 12.2204, 42.7454)
Luminance0.1222 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DB1 #41B12D
analogous
#5B2DB1 #9D2DB1 #B12D83
triadic
#9D2DB1 #B19D2D #2DB19D
tetradic
#9D2DB1 #B15B2D #41B12D #2D83B1
square
#9D2DB1 #B15B2D #41B12D #2D83B1
split-complementary
#9D2DB1 #83B12D #2DB15B
monochromatic
#46144F #722180 #9D2DB1 #BD4AD1 #CF7BDD

Accessibility & contrast

On white

6.10
#9D2DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9D2DB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DB1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DB1#FFFFFF#000000##FFFFFF
##9D2DB11.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#9E476D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9d2db1;
/* rgb */ color: rgb(157, 45, 177);
/* oklch */ color: oklch(52.4% 0.210 321.1);
Tailwind
colors: {
  custom: {
    50: '#be72c9',
    500: '#9d2db1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2db1;
$custom-light: #be72c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2db1",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 177
  },
  "hsl": {
    "h": 290.909,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.2103,
    "h": 321.1
  },
  "luminance": 0.12219
}

Semantic roles & 50–950 ramp

primary
#9D2DB1
secondary
#80C674
accent
#E3455D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9D2DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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