#9D2AA6#9D2AA6

#9D2AA6 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.204 H 324.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9D2AA6
RGBrgb(157, 42, 166)
HSLhsl(296, 60%, 41%)
HSVhsv(296, 75%, 65%)
CMYKcmyk(5.4%, 74.7%, 0%, 34.9%)
CIE-LABlab(40.54, 61.49, -42.29)
CIE-LCHlch(40.54, 74.63, 325.48°)
OKLaboklab(51.43% 0.1671 -0.1178)
OKLCHoklch(51.43% 0.204 324.8)
XYZxyz(21.6150, 11.5786, 37.1654)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AA6 #33A62A
analogous
#5F2AA6 #9D2AA6 #A62A71
triadic
#9D2AA6 #A69D2A #2AA69D
tetradic
#9D2AA6 #A65F2A #33A62A #2A71A6
square
#9D2AA6 #A65F2A #33A62A #2A71A6
split-complementary
#9D2AA6 #71A62A #2AA65F
monochromatic
#411144 #6F1E75 #9D2AA6 #C43FCE #D370DB

Accessibility & contrast

On white

6.33
#9D2AA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9D2AA6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2AA6#FFFFFF#000000##FFFFFF
##9D2AA61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4364A3
Tritanopia (blue-blind)
#A04066
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2aa6;
/* rgb */ color: rgb(157, 42, 166);
/* oklch */ color: oklch(51.4% 0.204 324.8);
Tailwind
colors: {
  custom: {
    50: '#be70c1',
    500: '#9d2aa6',
    950: '#000000',
  },
}
SCSS
$custom: #9d2aa6;
$custom-light: #be70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2aa6",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 295.645,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.20441,
    "h": 324.8
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#9D2AA6
secondary
#70C26A
accent
#E34550
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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