#9D22BC#9D22BC

#9D22BC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.3% C 0.230 H 318.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9D22BC
RGBrgb(157, 34, 188)
HSLhsl(288, 69%, 44%)
HSVhsv(288, 82%, 74%)
CMYKcmyk(16.5%, 81.9%, 0%, 26.3%)
CIE-LABlab(41.13, 67.82, -54.38)
CIE-LCHlch(41.13, 86.93, 321.27°)
OKLaboklab(52.3% 0.171 -0.1532)
OKLCHoklch(52.3% 0.23 318.1)
XYZxyz(23.5525, 11.9441, 48.6320)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D22BC #41BC22
analogous
#5022BC #9D22BC #BC228E
triadic
#9D22BC #BC9D22 #22BC9D
tetradic
#9D22BC #BC5022 #41BC22 #228EBC
square
#9D22BC #BC5022 #41BC22 #228EBC
split-complementary
#9D22BC #8EBC22 #22BC50
monochromatic
#460F54 #721988 #9D22BC #BD3FDC #CF73E6

Accessibility & contrast

On white

6.20
#9D22BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9D22BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D22BC
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D22BC#FFFFFF#000000##FFFFFF
##9D22BC1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d22bc;
/* rgb */ color: rgb(157, 34, 188);
/* oklch */ color: oklch(52.3% 0.230 318.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ed1',
    500: '#9d22bc',
    950: '#000000',
  },
}
SCSS
$custom: #9d22bc;
$custom-light: #bf6ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d22bc",
  "rgb": {
    "r": 157,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 287.922,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.22955,
    "h": 318.1
  },
  "luminance": 0.11943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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