#9722B3#9722B3

#9722B3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.220 H 318.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9722B3
RGBrgb(151, 34, 179)
HSLhsl(288, 68%, 42%)
HSVhsv(288, 81%, 70%)
CMYKcmyk(15.6%, 81%, 0%, 29.8%)
CIE-LABlab(39.55, 65.09, -51.68)
CIE-LCHlch(39.55, 83.11, 321.55°)
OKLaboklab(50.8% 0.1653 -0.1454)
OKLCHoklch(50.8% 0.22 318.7)
XYZxyz(21.4701, 10.9791, 43.6273)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722B3 #3EB322
analogous
#4F22B3 #9722B3 #B32287
triadic
#9722B3 #B39722 #22B397
tetradic
#9722B3 #B34F22 #3EB322 #2287B3
square
#9722B3 #B34F22 #3EB322 #2287B3
split-complementary
#9722B3 #87B322 #22B34F
monochromatic
#400E4C #6C1880 #9722B3 #BA39D9 #CC6CE3

Accessibility & contrast

On white

6.57
#9722B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9722B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722B3
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722B3#FFFFFF#000000##FFFFFF
##9722B31.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#2C61B0
Tritanopia (blue-blind)
#96446C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9722b3;
/* rgb */ color: rgb(151, 34, 179);
/* oklch */ color: oklch(50.8% 0.220 318.7);
Tailwind
colors: {
  custom: {
    50: '#ba6dca',
    500: '#9722b3',
    950: '#000000',
  },
}
SCSS
$custom: #9722b3;
$custom-light: #ba6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9722b3",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 288.414,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.508,
    "c": 0.22014,
    "h": 318.7
  },
  "luminance": 0.10978
}

Semantic roles & 50–950 ramp

primary
#9722B3
secondary
#7AC968
accent
#EB3D5E
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9722B3

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

Preview Lab → · Contrast checker → · Palette generator →

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