#9722A9#9722A9

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

Color values

HEX#9722A9
RGBrgb(151, 34, 169)
HSLhsl(292, 67%, 40%)
HSVhsv(292, 80%, 66%)
CMYKcmyk(10.7%, 79.9%, 0%, 33.7%)
CIE-LABlab(38.88, 63.28, -46.80)
CIE-LCHlch(38.88, 78.70, 323.52°)
OKLaboklab(50.12% 0.1667 -0.1311)
OKLCHoklch(50.12% 0.212 321.8)
XYZxyz(20.4952, 10.5891, 38.4928)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A9 #34A922
analogous
#5422A9 #9722A9 #A92278
triadic
#9722A9 #A99722 #22A997
tetradic
#9722A9 #A95422 #34A922 #2278A9
square
#9722A9 #A95422 #34A922 #2278A9
split-complementary
#9722A9 #78A922 #22A954
monochromatic
#3C0D43 #691876 #9722A9 #C032D6 #D065E0

Accessibility & contrast

On white

6.74
#9722A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9722A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722A9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A9#FFFFFF#000000##FFFFFF
##9722A91.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9722a9;
/* rgb */ color: rgb(151, 34, 169);
/* oklch */ color: oklch(50.1% 0.212 321.8);
Tailwind
colors: {
  custom: {
    50: '#ba6cc3',
    500: '#9722a9',
    950: '#000000',
  },
}
SCSS
$custom: #9722a9;
$custom-light: #ba6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a9",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 292,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.21206,
    "h": 321.8
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#9722A9
secondary
#6FC561
accent
#E93E55
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9722A9

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

Preview Lab → · Contrast checker → · Palette generator →

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