#9E22BC#9E22BC

#9E22BC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.230 H 318.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9E22BC
RGBrgb(158, 34, 188)
HSLhsl(288, 69%, 44%)
HSVhsv(288, 82%, 74%)
CMYKcmyk(16%, 81.9%, 0%, 26.3%)
CIE-LABlab(41.29, 67.99, -54.12)
CIE-LCHlch(41.29, 86.90, 321.48°)
OKLaboklab(52.44% 0.1722 -0.1523)
OKLCHoklch(52.44% 0.23 318.5)
XYZxyz(23.7484, 12.0452, 48.6412)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E22BC #40BC22
analogous
#5122BC #9E22BC #BC228D
triadic
#9E22BC #BC9E22 #22BC9E
tetradic
#9E22BC #BC5122 #40BC22 #228DBC
square
#9E22BC #BC5122 #40BC22 #228DBC
split-complementary
#9E22BC #8DBC22 #22BC51
monochromatic
#470F54 #721988 #9E22BC #BE3FDC #CF73E6

Accessibility & contrast

On white

6.16
#9E22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9E22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E22BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E22BC#FFFFFF#000000##FFFFFF
##9E22BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#2C65B9
Tritanopia (blue-blind)
#9D4771
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9e22bc;
/* rgb */ color: rgb(158, 34, 188);
/* oklch */ color: oklch(52.4% 0.230 318.5);
Tailwind
colors: {
  custom: {
    50: '#bf6ed1',
    500: '#9e22bc',
    950: '#000000',
  },
}
SCSS
$custom: #9e22bc;
$custom-light: #bf6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9e22bc",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 288.312,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.2299,
    "h": 318.5
  },
  "luminance": 0.12044
}

Semantic roles & 50–950 ramp

primary
#9E22BC
secondary
#80CD6D
accent
#EC3C5E
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9E22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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