#9E22A0#9E22A0

#9E22A0 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.208 H 327.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#9E22A0
RGBrgb(158, 34, 160)
HSLhsl(299, 65%, 38%)
HSVhsv(299, 79%, 63%)
CMYKcmyk(1.2%, 78.8%, 0%, 37.3%)
CIE-LABlab(39.50, 63.13, -40.34)
CIE-LCHlch(39.50, 74.91, 327.42°)
OKLaboklab(50.61% 0.1752 -0.112)
OKLCHoklch(50.61% 0.208 327.4)
XYZxyz(21.0174, 10.9528, 34.2580)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E22A0 #24A022
analogous
#5F22A0 #9E22A0 #A02263
triadic
#9E22A0 #A09E22 #22A09E
tetradic
#9E22A0 #A05F22 #24A022 #2263A0
square
#9E22A0 #A05F22 #24A022 #2263A0
split-complementary
#9E22A0 #63A022 #22A05F
monochromatic
#3A0D3B #6C176E #9E22A0 #D02DD2 #DB5FDD

Accessibility & contrast

On white

6.58
#9E22A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9E22A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E22A0
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E22A0#FFFFFF#000000##FFFFFF
##9E22A01.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e22a0;
/* rgb */ color: rgb(158, 34, 160);
/* oklch */ color: oklch(50.6% 0.208 327.4);
Tailwind
colors: {
  custom: {
    50: '#bf6dbd',
    500: '#9e22a0',
    950: '#000000',
  },
}
SCSS
$custom: #9e22a0;
$custom-light: #bf6dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9e22a0",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 299.048,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.20798,
    "h": 327.4
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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