#9720A8#9720A8

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

Color values

HEX#9720A8
RGBrgb(151, 32, 168)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 66%)
CMYKcmyk(10.1%, 81%, 0%, 34.1%)
CIE-LABlab(38.62, 63.66, -46.61)
CIE-LCHlch(38.62, 78.90, 323.79°)
OKLaboklab(49.92% 0.1683 -0.1305)
OKLCHoklch(49.92% 0.213 322.2)
XYZxyz(20.3462, 10.4407, 37.9818)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9720A8 #31A820
analogous
#5320A8 #9720A8 #A82075
triadic
#9720A8 #A89720 #20A897
tetradic
#9720A8 #A85320 #31A820 #2075A8
square
#9720A8 #A85320 #31A820 #2075A8
split-complementary
#9720A8 #75A820 #20A853
monochromatic
#3B0C41 #691675 #9720A8 #C22ED7 #D161E1

Accessibility & contrast

On white

6.80
#9720A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9720A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9720A8
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9720A8#FFFFFF#000000##FFFFFF
##9720A81.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#365FA5
Tritanopia (blue-blind)
#993D65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9720a8;
/* rgb */ color: rgb(151, 32, 168);
/* oklch */ color: oklch(49.9% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9720a8',
    950: '#000000',
  },
}
SCSS
$custom: #9720a8;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9720a8",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 292.5,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49917,
    "c": 0.213,
    "h": 322.2
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#9720A8
secondary
#6BC65E
accent
#EB3D53
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9720A8

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

Preview Lab → · Contrast checker → · Palette generator →

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