#9721A4#9721A4

#9721A4 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.209 H 323.5°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9721A4
RGBrgb(151, 33, 164)
HSLhsl(294, 66%, 39%)
HSVhsv(294, 80%, 64%)
CMYKcmyk(7.9%, 79.9%, 0%, 35.7%)
CIE-LABlab(38.46, 62.68, -44.47)
CIE-LCHlch(38.46, 76.86, 324.64°)
OKLaboklab(49.72% 0.168 -0.1243)
OKLCHoklch(49.72% 0.209 323.5)
XYZxyz(20.0066, 10.3486, 36.0585)
Luminance0.1035 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9721A4 #2EA421
analogous
#5521A4 #9721A4 #A4216F
triadic
#9721A4 #A49721 #21A497
tetradic
#9721A4 #A45521 #2EA421 #216FA4
square
#9721A4 #A45521 #2EA421 #216FA4
split-complementary
#9721A4 #6FA421 #21A455
monochromatic
#390C3E #681771 #9721A4 #C42DD5 #D260DF

Accessibility & contrast

On white

6.84
#9721A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9721A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9721A4
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9721A4#FFFFFF#000000##FFFFFF
##9721A41.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#3A5FA1
Tritanopia (blue-blind)
#9A3C63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9721a4;
/* rgb */ color: rgb(151, 33, 164);
/* oklch */ color: oklch(49.7% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cc0',
    500: '#9721a4',
    950: '#000000',
  },
}
SCSS
$custom: #9721a4;
$custom-light: #ba6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9721a4",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 294.046,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49721,
    "c": 0.20896,
    "h": 323.5
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#9721A4
secondary
#67C45D
accent
#E93E4F
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9721A4

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

Preview Lab → · Contrast checker → · Palette generator →

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