#9922CA#9922CA

#9922CA is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.8% C 0.240 H 312.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9922CA
RGBrgb(153, 34, 202)
HSLhsl(283, 71%, 46%)
HSVhsv(283, 83%, 79%)
CMYKcmyk(24.3%, 83.2%, 0%, 20.8%)
CIE-LABlab(41.50, 69.78, -61.98)
CIE-LCHlch(41.50, 93.33, 318.39°)
OKLaboklab(52.75% 0.1632 -0.1756)
OKLCHoklch(52.75% 0.24 312.9)
XYZxyz(24.3676, 12.1814, 56.9333)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9922CA #53CA22
analogous
#4522CA #9922CA #CA22A7
triadic
#9922CA #CA9922 #22CA99
tetradic
#9922CA #CA4522 #53CA22 #22A7CA
square
#9922CA #CA4522 #53CA22 #22A7CA
split-complementary
#9922CA #A7CA22 #22CA45
monochromatic
#4A1061 #711996 #9922CA #B449E0 #CA7DE9

Accessibility & contrast

On white

6.11
#9922CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9922CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9922CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9922CA#FFFFFF#000000##FFFFFF
##9922CA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#934E79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9922ca;
/* rgb */ color: rgb(153, 34, 202);
/* oklch */ color: oklch(52.8% 0.240 312.9);
Tailwind
colors: {
  custom: {
    50: '#bc6edb',
    500: '#9922ca',
    950: '#000000',
  },
}
SCSS
$custom: #9922ca;
$custom-light: #bc6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9922ca",
  "rgb": {
    "r": 153,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 282.5,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5275,
    "c": 0.23969,
    "h": 312.9
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#9922CA
secondary
#91D177
accent
#EE3A6E
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9922CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9922CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva