#9722A6#9722A6

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

Color values

HEX#9722A6
RGBrgb(151, 34, 166)
HSLhsl(293, 66%, 39%)
HSVhsv(293, 80%, 65%)
CMYKcmyk(9%, 79.5%, 0%, 34.9%)
CIE-LABlab(38.69, 62.75, -45.31)
CIE-LCHlch(38.69, 77.40, 324.17°)
OKLaboklab(49.92% 0.167 -0.1267)
OKLCHoklch(49.92% 0.21 322.8)
XYZxyz(20.2168, 10.4778, 37.0266)
Luminance0.1048 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A6 #31A622
analogous
#5522A6 #9722A6 #A62273
triadic
#9722A6 #A69722 #22A697
tetradic
#9722A6 #A65522 #31A622 #2273A6
square
#9722A6 #A65522 #31A622 #2273A6
split-complementary
#9722A6 #73A622 #22A655
monochromatic
#3B0D40 #691873 #9722A6 #C230D5 #D163DF

Accessibility & contrast

On white

6.78
#9722A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9722A6
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A6#FFFFFF#000000##FFFFFF
##9722A61.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#395FA3
Tritanopia (blue-blind)
#993D64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9722a6;
/* rgb */ color: rgb(151, 34, 166);
/* oklch */ color: oklch(49.9% 0.210 322.8);
Tailwind
colors: {
  custom: {
    50: '#ba6cc1',
    500: '#9722a6',
    950: '#000000',
  },
}
SCSS
$custom: #9722a6;
$custom-light: #ba6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a6",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 293.182,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49922,
    "c": 0.20965,
    "h": 322.8
  },
  "luminance": 0.10477
}

Semantic roles & 50–950 ramp

primary
#9722A6
secondary
#6BC45F
accent
#E93F52
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9722A6

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

Preview Lab → · Contrast checker → · Palette generator →

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