#9722BD#9722BD

#9722BD is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.228 H 315.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9722BD
RGBrgb(151, 34, 189)
HSLhsl(285, 70%, 44%)
HSVhsv(285, 82%, 74%)
CMYKcmyk(20.1%, 82%, 0%, 25.9%)
CIE-LABlab(40.24, 66.96, -56.45)
CIE-LCHlch(40.24, 87.58, 319.87°)
OKLaboklab(51.51% 0.1635 -0.1594)
OKLCHoklch(51.51% 0.228 315.7)
XYZxyz(22.5184, 11.3984, 49.1482)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9722BD #48BD22
analogous
#4922BD #9722BD #BD2295
triadic
#9722BD #BD9722 #22BD97
tetradic
#9722BD #BD4922 #48BD22 #2295BD
square
#9722BD #BD4922 #48BD22 #2295BD
split-complementary
#9722BD #95BD22 #22BD49
monochromatic
#440F55 #6E1989 #9722BD #B640DD #CA73E6

Accessibility & contrast

On white

6.40
#9722BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9722BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9722BD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9722BD#FFFFFF#000000##FFFFFF
##9722BD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#1C62BA
Tritanopia (blue-blind)
#944972
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9722bd;
/* rgb */ color: rgb(151, 34, 189);
/* oklch */ color: oklch(51.5% 0.228 315.7);
Tailwind
colors: {
  custom: {
    50: '#ba6dd2',
    500: '#9722bd',
    950: '#000000',
  },
}
SCSS
$custom: #9722bd;
$custom-light: #ba6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9722bd",
  "rgb": {
    "r": 151,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 285.29,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51511,
    "c": 0.22834,
    "h": 315.7
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#9722BD
secondary
#85CD6E
accent
#EC3B67
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9722BD

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

Preview Lab → · Contrast checker → · Palette generator →

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