#9822C9#9822C9

#9822C9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.5% C 0.239 H 312.8°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#9822C9
RGBrgb(152, 34, 201)
HSLhsl(282, 71%, 46%)
HSVhsv(282, 83%, 79%)
CMYKcmyk(24.4%, 83.1%, 0%, 21.2%)
CIE-LABlab(41.28, 69.42, -61.78)
CIE-LCHlch(41.28, 92.93, 318.33°)
OKLaboklab(52.54% 0.1621 -0.175)
OKLCHoklch(52.54% 0.239 312.8)
XYZxyz(24.0616, 12.0373, 56.3029)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822C9 #53C922
analogous
#4422C9 #9822C9 #C922A6
triadic
#9822C9 #C99822 #22C998
tetradic
#9822C9 #C94422 #53C922 #22A6C9
square
#9822C9 #C94422 #53C922 #22A6C9
split-complementary
#9822C9 #A6C922 #22C944
monochromatic
#491060 #701995 #9822C9 #B348E0 #C97CE9

Accessibility & contrast

On white

6.16
#9822C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#9822C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822C9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822C9#FFFFFF#000000##FFFFFF
##9822C91.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)
#005CCD
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#924E79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9822c9;
/* rgb */ color: rgb(152, 34, 201);
/* oklch */ color: oklch(52.5% 0.239 312.8);
Tailwind
colors: {
  custom: {
    50: '#bc6eda',
    500: '#9822c9',
    950: '#000000',
  },
}
SCSS
$custom: #9822c9;
$custom-light: #bc6eda;
$custom-dark: #000000;
JSON
{
  "hex": "#9822c9",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 201
  },
  "hsl": {
    "h": 282.395,
    "s": 71.064,
    "l": 46.078
  },
  "oklch": {
    "l": 0.52537,
    "c": 0.23858,
    "h": 312.8
  },
  "luminance": 0.12037
}

Semantic roles & 50–950 ramp

primary
#9822C9
secondary
#91D176
accent
#EE3A6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9822C9

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

Preview Lab → · Contrast checker → · Palette generator →

#9822C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva