#9D22A5#9D22A5

#9D22A5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.8% C 0.211 H 325.3°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9D22A5
RGBrgb(157, 34, 165)
HSLhsl(296, 66%, 39%)
HSVhsv(296, 79%, 65%)
CMYKcmyk(4.8%, 79.4%, 0%, 35.3%)
CIE-LABlab(39.63, 63.76, -43.14)
CIE-LCHlch(39.63, 76.99, 325.92°)
OKLaboklab(50.77% 0.1739 -0.1202)
OKLCHoklch(50.77% 0.211 325.3)
XYZxyz(21.2677, 11.0302, 36.5989)
Luminance0.1103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D22A5 #2AA522
analogous
#5C22A5 #9D22A5 #A5226C
triadic
#9D22A5 #A59D22 #22A59D
tetradic
#9D22A5 #A55C22 #2AA522 #226CA5
square
#9D22A5 #A55C22 #2AA522 #226CA5
split-complementary
#9D22A5 #6CA522 #22A55C
monochromatic
#3C0D40 #6D1872 #9D22A5 #CA30D4 #D763DF

Accessibility & contrast

On white

6.55
#9D22A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9D22A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D22A5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D22A5#FFFFFF#000000##FFFFFF
##9D22A51.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#4062A2
Tritanopia (blue-blind)
#A13B64
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d22a5;
/* rgb */ color: rgb(157, 34, 165);
/* oklch */ color: oklch(50.8% 0.211 325.3);
Tailwind
colors: {
  custom: {
    50: '#be6dc0',
    500: '#9d22a5',
    950: '#000000',
  },
}
SCSS
$custom: #9d22a5;
$custom-light: #be6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d22a5",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 296.336,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50765,
    "c": 0.21138,
    "h": 325.3
  },
  "luminance": 0.11029
}

Semantic roles & 50–950 ramp

primary
#9D22A5
secondary
#65C45F
accent
#E93F49
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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