#9D22AF#9D22AF

#9D22AF is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.4% C 0.219 H 322.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9D22AF
RGBrgb(157, 34, 175)
HSLhsl(292, 67%, 41%)
HSVhsv(292, 81%, 69%)
CMYKcmyk(10.3%, 80.6%, 0%, 31.4%)
CIE-LABlab(40.26, 65.48, -48.10)
CIE-LCHlch(40.26, 81.25, 323.70°)
OKLaboklab(51.41% 0.1729 -0.1347)
OKLCHoklch(51.41% 0.219 322.1)
XYZxyz(22.2137, 11.4086, 41.5812)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D22AF #34AF22
analogous
#5622AF #9D22AF #AF227A
triadic
#9D22AF #AF9D22 #22AF9D
tetradic
#9D22AF #AF5622 #34AF22 #227AAF
square
#9D22AF #AF5622 #34AF22 #227AAF
split-complementary
#9D22AF #7AAF22 #22AF56
monochromatic
#410E49 #6F187C #9D22AF #C336D8 #D369E2

Accessibility & contrast

On white

6.40
#9D22AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9D22AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D22AF
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D22AF#FFFFFF#000000##FFFFFF
##9D22AF1.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)
#0056B3
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#9F406A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9d22af;
/* rgb */ color: rgb(157, 34, 175);
/* oklch */ color: oklch(51.4% 0.219 322.1);
Tailwind
colors: {
  custom: {
    50: '#be6dc7',
    500: '#9d22af',
    950: '#000000',
  },
}
SCSS
$custom: #9d22af;
$custom-light: #be6dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d22af",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 292.34,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.21919,
    "h": 322.1
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#9D22AF
secondary
#72C865
accent
#EA3D54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D22AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9D22AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva