#9721A9#9721A9

#9721A9 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.1% C 0.213 H 321.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9721A9
RGBrgb(151, 33, 169)
HSLhsl(292, 67%, 40%)
HSVhsv(292, 80%, 66%)
CMYKcmyk(10.7%, 80.5%, 0%, 33.7%)
CIE-LABlab(38.78, 63.56, -46.95)
CIE-LCHlch(38.78, 79.02, 323.55°)
OKLaboklab(50.05% 0.1674 -0.1315)
OKLCHoklch(50.05% 0.213 321.8)
XYZxyz(20.4670, 10.5328, 38.4834)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9721A9 #33A921
analogous
#5321A9 #9721A9 #A92177
triadic
#9721A9 #A99721 #21A997
tetradic
#9721A9 #A95321 #33A921 #2177A9
square
#9721A9 #A95321 #33A921 #2177A9
split-complementary
#9721A9 #77A921 #21A953
monochromatic
#3C0D43 #691776 #9721A9 #C131D7 #D064E1

Accessibility & contrast

On white

6.76
#9721A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9721A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9721A9
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9721A9#FFFFFF#000000##FFFFFF
##9721A91.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#993E66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9721a9;
/* rgb */ color: rgb(151, 33, 169);
/* oklch */ color: oklch(50.1% 0.213 321.8);
Tailwind
colors: {
  custom: {
    50: '#ba6cc3',
    500: '#9721a9',
    950: '#000000',
  },
}
SCSS
$custom: #9721a9;
$custom-light: #ba6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9721a9",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 169
  },
  "hsl": {
    "h": 292.059,
    "s": 67.327,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50051,
    "c": 0.21294,
    "h": 321.8
  },
  "luminance": 0.10532
}

Semantic roles & 50–950 ramp

primary
#9721A9
secondary
#6DC660
accent
#EA3E54
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9721A9

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

Preview Lab → · Contrast checker → · Palette generator →

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