#9E22A9#9E22A9

#9E22A9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.215 H 324.4°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9E22A9
RGBrgb(158, 34, 169)
HSLhsl(295, 67%, 40%)
HSVhsv(295, 80%, 66%)
CMYKcmyk(6.5%, 79.9%, 0%, 33.7%)
CIE-LABlab(40.05, 64.64, -44.86)
CIE-LCHlch(40.05, 78.68, 325.24°)
OKLaboklab(51.17% 0.1746 -0.1252)
OKLCHoklch(51.17% 0.215 324.4)
XYZxyz(21.8334, 11.2792, 38.5555)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E22A9 #2DA922
analogous
#5B22A9 #9E22A9 #A92271
triadic
#9E22A9 #A99E22 #22A99E
tetradic
#9E22A9 #A95B22 #2DA922 #2271A9
square
#9E22A9 #A95B22 #2DA922 #2271A9
split-complementary
#9E22A9 #71A922 #22A95B
monochromatic
#3F0D43 #6E1876 #9E22A9 #C932D6 #D665E0

Accessibility & contrast

On white

6.45
#9E22A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9E22A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E22A9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E22A9#FFFFFF#000000##FFFFFF
##9E22A91.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AD
Deuteranopia (green-blind)
#3E63A6
Tritanopia (blue-blind)
#A13D66
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9e22a9;
/* rgb */ color: rgb(158, 34, 169);
/* oklch */ color: oklch(51.2% 0.215 324.4);
Tailwind
colors: {
  custom: {
    50: '#bf6dc3',
    500: '#9e22a9',
    950: '#000000',
  },
}
SCSS
$custom: #9e22a9;
$custom-light: #bf6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e22a9",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 295.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5117,
    "c": 0.2149,
    "h": 324.4
  },
  "luminance": 0.11278
}

Semantic roles & 50–950 ramp

primary
#9E22A9
secondary
#69C561
accent
#E93E4C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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