#9E22BD#9E22BD

#9E22BD is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.5% C 0.231 H 318.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9E22BD
RGBrgb(158, 34, 189)
HSLhsl(288, 70%, 44%)
HSVhsv(288, 82%, 74%)
CMYKcmyk(16.4%, 82%, 0%, 25.9%)
CIE-LABlab(41.36, 68.17, -54.59)
CIE-LCHlch(41.36, 87.34, 321.31°)
OKLaboklab(52.51% 0.172 -0.1537)
OKLCHoklch(52.51% 0.231 318.2)
XYZxyz(23.8566, 12.0884, 49.2109)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E22BD #41BD22
analogous
#5022BD #9E22BD #BD228E
triadic
#9E22BD #BD9E22 #22BD9E
tetradic
#9E22BD #BD5022 #41BD22 #228EBD
square
#9E22BD #BD5022 #41BD22 #228EBD
split-complementary
#9E22BD #8EBD22 #22BD50
monochromatic
#470F55 #731989 #9E22BD #BD40DD #CF73E6

Accessibility & contrast

On white

6.15
#9E22BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9E22BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E22BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E22BD#FFFFFF#000000##FFFFFF
##9E22BD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#2A65BA
Tritanopia (blue-blind)
#9D4772
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9e22bd;
/* rgb */ color: rgb(158, 34, 189);
/* oklch */ color: oklch(52.5% 0.231 318.2);
Tailwind
colors: {
  custom: {
    50: '#bf6ed2',
    500: '#9e22bd',
    950: '#000000',
  },
}
SCSS
$custom: #9e22bd;
$custom-light: #bf6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e22bd",
  "rgb": {
    "r": 158,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 288,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5251,
    "c": 0.2307,
    "h": 318.2
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#9E22BD
secondary
#81CD6E
accent
#EC3B5F
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9E22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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