#9721AF#9721AF

#9721AF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.218 H 319.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9721AF
RGBrgb(151, 33, 175)
HSLhsl(290, 68%, 41%)
HSVhsv(290, 81%, 69%)
CMYKcmyk(13.7%, 81.1%, 0%, 31.4%)
CIE-LABlab(39.18, 64.64, -49.89)
CIE-LCHlch(39.18, 81.65, 322.34°)
OKLaboklab(50.46% 0.1666 -0.1402)
OKLCHoklch(50.46% 0.218 319.9)
XYZxyz(21.0432, 10.7633, 41.5182)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9721AF #39AF21
analogous
#5021AF #9721AF #AF2180
triadic
#9721AF #AF9721 #21AF97
tetradic
#9721AF #AF5021 #39AF21 #2180AF
square
#9721AF #AF5021 #39AF21 #2180AF
split-complementary
#9721AF #80AF21 #21AF50
monochromatic
#3E0E48 #6B177C #9721AF #BD34D9 #CE68E3

Accessibility & contrast

On white

6.66
#9721AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9721AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9721AF
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9721AF#FFFFFF#000000##FFFFFF
##9721AF1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#974169
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9721af;
/* rgb */ color: rgb(151, 33, 175);
/* oklch */ color: oklch(50.5% 0.218 319.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cc8',
    500: '#9721af',
    950: '#000000',
  },
}
SCSS
$custom: #9721af;
$custom-light: #ba6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9721af",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 289.859,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.21775,
    "h": 319.9
  },
  "luminance": 0.10762
}

Semantic roles & 50–950 ramp

primary
#9721AF
secondary
#75C864
accent
#EB3D5A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9721AF

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

Preview Lab → · Contrast checker → · Palette generator →

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