#9A22A9#9A22A9

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

Color values

HEX#9A22A9
RGBrgb(154, 34, 169)
HSLhsl(293, 67%, 40%)
HSVhsv(293, 80%, 66%)
CMYKcmyk(8.9%, 79.9%, 0%, 33.7%)
CIE-LABlab(39.38, 63.86, -45.97)
CIE-LCHlch(39.38, 78.69, 324.25°)
OKLaboklab(50.57% 0.1701 -0.1286)
OKLCHoklch(50.57% 0.213 322.9)
XYZxyz(21.0592, 10.8799, 38.5192)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22A9 #31A922
analogous
#5622A9 #9A22A9 #A92275
triadic
#9A22A9 #A99A22 #22A99A
tetradic
#9A22A9 #A95622 #31A922 #2275A9
square
#9A22A9 #A95622 #31A922 #2275A9
split-complementary
#9A22A9 #75A922 #22A956
monochromatic
#3D0D43 #6C1876 #9A22A9 #C432D6 #D265E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9A22A9#FFFFFF#000000##FFFFFF
##9A22A91.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)
#0054AD
Deuteranopia (green-blind)
#3A61A6
Tritanopia (blue-blind)
#9C3E66
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a22a9;
/* rgb */ color: rgb(154, 34, 169);
/* oklch */ color: oklch(50.6% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dc3',
    500: '#9a22a9',
    950: '#000000',
  },
}
SCSS
$custom: #9a22a9;
$custom-light: #bc6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22a9",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 293.333,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.21326,
    "h": 322.9
  },
  "luminance": 0.10879
}

Semantic roles & 50–950 ramp

primary
#9A22A9
secondary
#6CC561
accent
#E93E51
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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