#9D2DA1#9D2DA1

#9D2DA1 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.197 H 326.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2DA1
RGBrgb(157, 45, 161)
HSLhsl(298, 56%, 40%)
HSVhsv(298, 72%, 63%)
CMYKcmyk(2.5%, 72%, 0%, 36.9%)
CIE-LABlab(40.60, 59.60, -39.19)
CIE-LCHlch(40.60, 71.33, 326.67°)
OKLaboklab(51.38% 0.1643 -0.1088)
OKLCHoklch(51.38% 0.197 326.5)
XYZxyz(21.2756, 11.6195, 34.8335)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2DA1 #31A12D
analogous
#632DA1 #9D2DA1 #A12D6B
triadic
#9D2DA1 #A19D2D #2DA19D
tetradic
#9D2DA1 #A1632D #31A12D #2D6BA1
square
#9D2DA1 #A1632D #31A12D #2D6BA1
split-complementary
#9D2DA1 #6BA12D #2DA163
monochromatic
#401241 #6E2071 #9D2DA1 #C541CA #D471D7

Accessibility & contrast

On white

6.32
#9D2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9D2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2DA1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2DA1#FFFFFF#000000##FFFFFF
##9D2DA11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1257A4
Deuteranopia (green-blind)
#48659E
Tritanopia (blue-blind)
#A14064
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2da1;
/* rgb */ color: rgb(157, 45, 161);
/* oklch */ color: oklch(51.4% 0.197 326.5);
Tailwind
colors: {
  custom: {
    50: '#bd71bd',
    500: '#9d2da1',
    950: '#000000',
  },
}
SCSS
$custom: #9d2da1;
$custom-light: #bd71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2da1",
  "rgb": {
    "r": 157,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 297.931,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51382,
    "c": 0.19709,
    "h": 326.5
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#9D2DA1
secondary
#6EBF6B
accent
#E0484D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9D2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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