#9D22A0#9D22A0

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

Color values

HEX#9D22A0
RGBrgb(157, 34, 160)
HSLhsl(299, 65%, 38%)
HSVhsv(299, 79%, 63%)
CMYKcmyk(1.9%, 78.8%, 0%, 37.3%)
CIE-LABlab(39.33, 62.92, -40.62)
CIE-LCHlch(39.33, 74.90, 327.16°)
OKLaboklab(50.45% 0.1742 -0.1129)
OKLCHoklch(50.45% 0.208 327)
XYZxyz(20.8215, 10.8517, 34.2488)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D22A0 #25A022
analogous
#5E22A0 #9D22A0 #A02264
triadic
#9D22A0 #A09D22 #22A09D
tetradic
#9D22A0 #A05E22 #25A022 #2264A0
square
#9D22A0 #A05E22 #25A022 #2264A0
split-complementary
#9D22A0 #64A022 #22A05E
monochromatic
#3A0D3B #6B176E #9D22A0 #CE2DD2 #DA5FDD

Accessibility & contrast

On white

6.62
#9D22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9D22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D22A0
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D22A0#FFFFFF#000000##FFFFFF
##9D22A01.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A3
Deuteranopia (green-blind)
#44629D
Tritanopia (blue-blind)
#A23961
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9d22a0;
/* rgb */ color: rgb(157, 34, 160);
/* oklch */ color: oklch(50.5% 0.208 327.0);
Tailwind
colors: {
  custom: {
    50: '#be6dbd',
    500: '#9d22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9d22a0;
$custom-light: #be6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d22a0",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 298.571,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.20753,
    "h": 327
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#9D22A0
secondary
#5EC25C
accent
#E84044
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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