#9722A5#9722A5

#9722A5 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.209 H 323.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9722A5
RGBrgb(151, 34, 165)
HSLhsl(294, 66%, 39%)
HSVhsv(294, 79%, 65%)
CMYKcmyk(8.5%, 79.4%, 0%, 35.3%)
CIE-LABlab(38.62, 62.57, -44.81)
CIE-LCHlch(38.62, 76.96, 324.39°)
OKLaboklab(49.86% 0.1671 -0.1253)
OKLCHoklch(49.86% 0.209 323.1)
XYZxyz(20.1254, 10.4412, 36.5453)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A5 #30A522
analogous
#5622A5 #9722A5 #A52272
triadic
#9722A5 #A59722 #22A597
tetradic
#9722A5 #A55622 #30A522 #2272A5
square
#9722A5 #A55622 #30A522 #2272A5
split-complementary
#9722A5 #72A522 #22A556
monochromatic
#3A0D40 #691872 #9722A5 #C330D4 #D263DF

Accessibility & contrast

On white

6.80
#9722A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9722A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722A5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A5#FFFFFF#000000##FFFFFF
##9722A51.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#3A5FA2
Tritanopia (blue-blind)
#993D64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9722a5;
/* rgb */ color: rgb(151, 34, 165);
/* oklch */ color: oklch(49.9% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cc0',
    500: '#9722a5',
    950: '#000000',
  },
}
SCSS
$custom: #9722a5;
$custom-light: #ba6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a5",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 293.588,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49856,
    "c": 0.20886,
    "h": 323.1
  },
  "luminance": 0.1044
}

Semantic roles & 50–950 ramp

primary
#9722A5
secondary
#6AC45F
accent
#E93F51
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9722A5

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

Preview Lab → · Contrast checker → · Palette generator →

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