#9D22A1#9D22A1

#9D22A1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.5% C 0.208 H 326.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9D22A1
RGBrgb(157, 34, 161)
HSLhsl(298, 65%, 38%)
HSVhsv(298, 79%, 63%)
CMYKcmyk(2.5%, 78.9%, 0%, 36.9%)
CIE-LABlab(39.39, 63.09, -41.13)
CIE-LCHlch(39.39, 75.31, 326.90°)
OKLaboklab(50.52% 0.1741 -0.1144)
OKLCHoklch(50.52% 0.208 326.7)
XYZxyz(20.9093, 10.8869, 34.7114)
Luminance0.1089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D22A1 #26A122
analogous
#5D22A1 #9D22A1 #A12265
triadic
#9D22A1 #A19D22 #22A19D
tetradic
#9D22A1 #A15D22 #26A122 #2265A1
square
#9D22A1 #A15D22 #26A122 #2265A1
split-complementary
#9D22A1 #65A122 #22A15D
monochromatic
#3A0D3C #6C176E #9D22A1 #CE2DD3 #D960DD

Accessibility & contrast

On white

6.61
#9D22A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9D22A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D22A1
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D22A1#FFFFFF#000000##FFFFFF
##9D22A11.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#43629E
Tritanopia (blue-blind)
#A13962
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d22a1;
/* rgb */ color: rgb(157, 34, 161);
/* oklch */ color: oklch(50.5% 0.208 326.7);
Tailwind
colors: {
  custom: {
    50: '#be6dbd',
    500: '#9d22a1',
    950: '#000000',
  },
}
SCSS
$custom: #9d22a1;
$custom-light: #be6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d22a1",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 298.11,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.2083,
    "h": 326.7
  },
  "luminance": 0.10885
}

Semantic roles & 50–950 ramp

primary
#9D22A1
secondary
#60C25D
accent
#E84045
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D22A1

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

Preview Lab → · Contrast checker → · Palette generator →

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