#9722A7#9722A7

#9722A7 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.210 H 322.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9722A7
RGBrgb(151, 34, 167)
HSLhsl(293, 66%, 39%)
HSVhsv(293, 80%, 65%)
CMYKcmyk(9.6%, 79.6%, 0%, 34.5%)
CIE-LABlab(38.75, 62.92, -45.81)
CIE-LCHlch(38.75, 77.83, 323.95°)
OKLaboklab(49.99% 0.1669 -0.1282)
OKLCHoklch(49.99% 0.21 322.5)
XYZxyz(20.3089, 10.5146, 37.5115)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A7 #32A722
analogous
#5522A7 #9722A7 #A72275
triadic
#9722A7 #A79722 #22A797
tetradic
#9722A7 #A75522 #32A722 #2275A7
square
#9722A7 #A75522 #32A722 #2275A7
split-complementary
#9722A7 #75A722 #22A755
monochromatic
#3B0D41 #691874 #9722A7 #C131D5 #D164DF

Accessibility & contrast

On white

6.77
#9722A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9722A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722A7
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A7#FFFFFF#000000##FFFFFF
##9722A71.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#3860A4
Tritanopia (blue-blind)
#993E65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9722a7;
/* rgb */ color: rgb(151, 34, 167);
/* oklch */ color: oklch(50.0% 0.210 322.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9722a7',
    950: '#000000',
  },
}
SCSS
$custom: #9722a7;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a7",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 292.782,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49987,
    "c": 0.21045,
    "h": 322.5
  },
  "luminance": 0.10513
}

Semantic roles & 50–950 ramp

primary
#9722A7
secondary
#6CC560
accent
#E93F53
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9722A7

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

Preview Lab → · Contrast checker → · Palette generator →

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