#9A22A6#9A22A6

#9A22A6 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.211 H 323.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9A22A6
RGBrgb(154, 34, 166)
HSLhsl(295, 66%, 39%)
HSVhsv(295, 80%, 65%)
CMYKcmyk(7.2%, 79.5%, 0%, 34.9%)
CIE-LABlab(39.19, 63.34, -44.48)
CIE-LCHlch(39.19, 77.40, 324.92°)
OKLaboklab(50.37% 0.1704 -0.1242)
OKLCHoklch(50.37% 0.211 323.9)
XYZxyz(20.7808, 10.7686, 37.0530)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A22A6 #2EA622
analogous
#5822A6 #9A22A6 #A62270
triadic
#9A22A6 #A69A22 #22A69A
tetradic
#9A22A6 #A65822 #2EA622 #2270A6
square
#9A22A6 #A65822 #2EA622 #2270A6
split-complementary
#9A22A6 #70A622 #22A658
monochromatic
#3C0D40 #6B1873 #9A22A6 #C630D5 #D463DF

Accessibility & contrast

On white

6.66
#9A22A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9A22A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A22A6
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A22A6#FFFFFF#000000##FFFFFF
##9A22A61.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#3C61A3
Tritanopia (blue-blind)
#9D3C64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a22a6;
/* rgb */ color: rgb(154, 34, 166);
/* oklch */ color: oklch(50.4% 0.211 323.9);
Tailwind
colors: {
  custom: {
    50: '#bc6dc1',
    500: '#9a22a6',
    950: '#000000',
  },
}
SCSS
$custom: #9a22a6;
$custom-light: #bc6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a22a6",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 294.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50373,
    "c": 0.21089,
    "h": 323.9
  },
  "luminance": 0.10767
}

Semantic roles & 50–950 ramp

primary
#9A22A6
secondary
#69C45F
accent
#E93F4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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