#9722A1#9722A1

#9722A1 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.206 H 324.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9722A1
RGBrgb(151, 34, 161)
HSLhsl(295, 65%, 38%)
HSVhsv(295, 79%, 63%)
CMYKcmyk(6.2%, 78.9%, 0%, 36.9%)
CIE-LABlab(38.37, 61.87, -42.81)
CIE-LCHlch(38.37, 75.24, 325.32°)
OKLaboklab(49.6% 0.1674 -0.1194)
OKLCHoklch(49.6% 0.206 324.5)
XYZxyz(19.7670, 10.2979, 34.6578)
Luminance0.1030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A1 #2CA122
analogous
#5822A1 #9722A1 #A1226B
triadic
#9722A1 #A19722 #22A197
tetradic
#9722A1 #A15822 #2CA122 #226BA1
square
#9722A1 #A15822 #2CA122 #226BA1
split-complementary
#9722A1 #6BA122 #22A158
monochromatic
#380D3C #68176E #9722A1 #C62DD3 #D460DD

Accessibility & contrast

On white

6.86
#9722A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9722A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722A1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A1#FFFFFF#000000##FFFFFF
##9722A11.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#3D5F9E
Tritanopia (blue-blind)
#9A3B61
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9722a1;
/* rgb */ color: rgb(151, 34, 161);
/* oklch */ color: oklch(49.6% 0.206 324.5);
Tailwind
colors: {
  custom: {
    50: '#b96cbd',
    500: '#9722a1',
    950: '#000000',
  },
}
SCSS
$custom: #9722a1;
$custom-light: #b96cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a1",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 295.276,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49598,
    "c": 0.20568,
    "h": 324.5
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#9722A1
secondary
#65C25D
accent
#E8404D
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9722A1

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

Preview Lab → · Contrast checker → · Palette generator →

#9722A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva