#9E22A6#9E22A6

#9E22A6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.0% C 0.213 H 325.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9E22A6
RGBrgb(158, 34, 166)
HSLhsl(296, 66%, 39%)
HSVhsv(296, 80%, 65%)
CMYKcmyk(4.8%, 79.5%, 0%, 34.9%)
CIE-LABlab(39.86, 64.13, -43.36)
CIE-LCHlch(39.86, 77.41, 325.93°)
OKLaboklab(50.98% 0.1749 -0.1209)
OKLCHoklch(50.98% 0.213 325.4)
XYZxyz(21.5550, 11.1678, 37.0893)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E22A6 #2AA622
analogous
#5C22A6 #9E22A6 #A6226C
triadic
#9E22A6 #A69E22 #22A69E
tetradic
#9E22A6 #A65C22 #2AA622 #226CA6
square
#9E22A6 #A65C22 #2AA622 #226CA6
split-complementary
#9E22A6 #6CA622 #22A65C
monochromatic
#3D0D40 #6E1873 #9E22A6 #CB30D5 #D863DF

Accessibility & contrast

On white

6.50
#9E22A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9E22A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E22A6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E22A6#FFFFFF#000000##FFFFFF
##9E22A61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#A23B64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e22a6;
/* rgb */ color: rgb(158, 34, 166);
/* oklch */ color: oklch(51.0% 0.213 325.4);
Tailwind
colors: {
  custom: {
    50: '#bf6dc1',
    500: '#9e22a6',
    950: '#000000',
  },
}
SCSS
$custom: #9e22a6;
$custom-light: #bf6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e22a6",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 296.364,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5098,
    "c": 0.21258,
    "h": 325.4
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E22A6

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

Preview Lab → · Contrast checker → · Palette generator →

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