#9D2AA7#9D2AA7

#9D2AA7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 324.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D2AA7
RGBrgb(157, 42, 167)
HSLhsl(295, 60%, 41%)
HSVhsv(295, 75%, 65%)
CMYKcmyk(6%, 74.9%, 0%, 34.5%)
CIE-LABlab(40.60, 61.67, -42.80)
CIE-LCHlch(40.60, 75.06, 325.24°)
OKLaboklab(51.49% 0.167 -0.1193)
OKLCHoklch(51.49% 0.205 324.5)
XYZxyz(21.7071, 11.6154, 37.6504)
Luminance0.1161 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2AA7 #34A72A
analogous
#5E2AA7 #9D2AA7 #A72A72
triadic
#9D2AA7 #A79D2A #2AA79D
tetradic
#9D2AA7 #A75E2A #34A72A #2A72A7
square
#9D2AA7 #A75E2A #34A72A #2A72A7
split-complementary
#9D2AA7 #72A72A #2AA75E
monochromatic
#411145 #6F1E76 #9D2AA7 #C33FCF #D370DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D2AA7#FFFFFF#000000##FFFFFF
##9D2AA71.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)
#0057AA
Deuteranopia (green-blind)
#4364A4
Tritanopia (blue-blind)
#A04167
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d2aa7;
/* rgb */ color: rgb(157, 42, 167);
/* oklch */ color: oklch(51.5% 0.205 324.5);
Tailwind
colors: {
  custom: {
    50: '#be70c2',
    500: '#9d2aa7',
    950: '#000000',
  },
}
SCSS
$custom: #9d2aa7;
$custom-light: #be70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2aa7",
  "rgb": {
    "r": 157,
    "g": 42,
    "b": 167
  },
  "hsl": {
    "h": 295.2,
    "s": 59.809,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.20522,
    "h": 324.5
  },
  "luminance": 0.11614
}

Semantic roles & 50–950 ramp

primary
#9D2AA7
secondary
#72C26B
accent
#E34551
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9D2AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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