#9720A6#9720A6

#9720A6 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.211 H 322.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#9720A6
RGBrgb(151, 32, 166)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(9%, 80.7%, 0%, 34.9%)
CIE-LABlab(38.49, 63.31, -45.62)
CIE-LCHlch(38.49, 78.04, 324.22°)
OKLaboklab(49.79% 0.1685 -0.1277)
OKLCHoklch(49.79% 0.211 322.9)
XYZxyz(20.1613, 10.3667, 37.0081)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9720A6 #2FA620
analogous
#5420A6 #9720A6 #A62072
triadic
#9720A6 #A69720 #20A697
tetradic
#9720A6 #A65420 #2FA620 #2072A6
square
#9720A6 #A65420 #2FA620 #2072A6
split-complementary
#9720A6 #72A620 #20A654
monochromatic
#3A0C3F #681673 #9720A6 #C32DD6 #D260E0

Accessibility & contrast

On white

6.83
#9720A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9720A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9720A6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9720A6#FFFFFF#000000##FFFFFF
##9720A61.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#385FA3
Tritanopia (blue-blind)
#993C64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9720a6;
/* rgb */ color: rgb(151, 32, 166);
/* oklch */ color: oklch(49.8% 0.211 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba6bc1',
    500: '#9720a6',
    950: '#000000',
  },
}
SCSS
$custom: #9720a6;
$custom-light: #ba6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9720a6",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 293.284,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.21142,
    "h": 322.9
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#9720A6
secondary
#68C55D
accent
#EB3D51
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9720A6

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

Preview Lab → · Contrast checker → · Palette generator →

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