#9722A8#9722A8

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

Color values

HEX#9722A8
RGBrgb(151, 34, 168)
HSLhsl(292, 66%, 40%)
HSVhsv(292, 80%, 66%)
CMYKcmyk(10.1%, 79.8%, 0%, 34.1%)
CIE-LABlab(38.81, 63.10, -46.30)
CIE-LCHlch(38.81, 78.27, 323.73°)
OKLaboklab(50.05% 0.1668 -0.1296)
OKLCHoklch(50.05% 0.211 322.1)
XYZxyz(20.4017, 10.5517, 38.0003)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722A8 #33A822
analogous
#5422A8 #9722A8 #A82276
triadic
#9722A8 #A89722 #22A897
tetradic
#9722A8 #A85422 #33A822 #2276A8
square
#9722A8 #A85422 #33A822 #2276A8
split-complementary
#9722A8 #76A822 #22A854
monochromatic
#3C0D42 #691875 #9722A8 #C132D5 #D065E0

Accessibility & contrast

On white

6.75
#9722A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9722A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722A8
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722A8#FFFFFF#000000##FFFFFF
##9722A81.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#993E66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9722a8;
/* rgb */ color: rgb(151, 34, 168);
/* oklch */ color: oklch(50.1% 0.211 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9722a8',
    950: '#000000',
  },
}
SCSS
$custom: #9722a8;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9722a8",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 292.388,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.21125,
    "h": 322.1
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#9722A8
secondary
#6DC561
accent
#E93F54
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9722A8

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

Preview Lab → · Contrast checker → · Palette generator →

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