#9720A7#9720A7

#9720A7 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.212 H 322.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9720A7
RGBrgb(151, 32, 167)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(9.6%, 80.8%, 0%, 34.5%)
CIE-LABlab(38.56, 63.49, -46.12)
CIE-LCHlch(38.56, 78.47, 324.00°)
OKLaboklab(49.85% 0.1684 -0.1291)
OKLCHoklch(49.85% 0.212 322.5)
XYZxyz(20.2534, 10.4036, 37.4930)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9720A7 #30A720
analogous
#5420A7 #9720A7 #A72074
triadic
#9720A7 #A79720 #20A797
tetradic
#9720A7 #A75420 #30A720 #2074A7
square
#9720A7 #A75420 #30A720 #2074A7
split-complementary
#9720A7 #74A720 #20A754
monochromatic
#3A0C40 #691674 #9720A7 #C32DD7 #D261E1

Accessibility & contrast

On white

6.82
#9720A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9720A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9720A7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9720A7#FFFFFF#000000##FFFFFF
##9720A71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#375FA4
Tritanopia (blue-blind)
#993D65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9720a7;
/* rgb */ color: rgb(151, 32, 167);
/* oklch */ color: oklch(49.9% 0.212 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9720a7',
    950: '#000000',
  },
}
SCSS
$custom: #9720a7;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9720a7",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 292.889,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49851,
    "c": 0.2122,
    "h": 322.5
  },
  "luminance": 0.10402
}

Semantic roles & 50–950 ramp

primary
#9720A7
secondary
#6AC55D
accent
#EB3D52
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9720A7

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

Preview Lab → · Contrast checker → · Palette generator →

#9720A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva