#9721A0#9721A0

#9721A0 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.206 H 324.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9721A0
RGBrgb(151, 33, 160)
HSLhsl(296, 66%, 38%)
HSVhsv(296, 79%, 63%)
CMYKcmyk(5.6%, 79.4%, 0%, 37.3%)
CIE-LABlab(38.21, 61.99, -42.47)
CIE-LCHlch(38.21, 75.14, 325.59°)
OKLaboklab(49.46% 0.1683 -0.1184)
OKLCHoklch(49.46% 0.206 324.9)
XYZxyz(19.6510, 10.2064, 34.1859)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9721A0 #2AA021
analogous
#5721A0 #9721A0 #A02169
triadic
#9721A0 #A09721 #21A097
tetradic
#9721A0 #A05721 #2AA021 #2169A0
square
#9721A0 #A05721 #2AA021 #2169A0
split-complementary
#9721A0 #69A021 #21A057
monochromatic
#370C3B #67176D #9721A0 #C72BD3 #D55EDE

Accessibility & contrast

On white

6.91
#9721A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9721A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9721A0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9721A0#FFFFFF#000000##FFFFFF
##9721A01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#3D5F9D
Tritanopia (blue-blind)
#9A3A61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9721a0;
/* rgb */ color: rgb(151, 33, 160);
/* oklch */ color: oklch(49.5% 0.206 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cbd',
    500: '#9721a0',
    950: '#000000',
  },
}
SCSS
$custom: #9721a0;
$custom-light: #ba6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9721a0",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 160
  },
  "hsl": {
    "h": 295.748,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49464,
    "c": 0.20581,
    "h": 324.9
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#9721A0
secondary
#62C25B
accent
#E93F4B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9721A0

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

Preview Lab → · Contrast checker → · Palette generator →

#9721A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva