#9822CA#9822CA

#9822CA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.6% C 0.239 H 312.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9822CA
RGBrgb(152, 34, 202)
HSLhsl(282, 71%, 46%)
HSVhsv(282, 83%, 79%)
CMYKcmyk(24.8%, 83.2%, 0%, 20.8%)
CIE-LABlab(41.35, 69.62, -62.24)
CIE-LCHlch(41.35, 93.38, 318.20°)
OKLaboklab(52.61% 0.1619 -0.1764)
OKLCHoklch(52.61% 0.239 312.5)
XYZxyz(24.1796, 12.0845, 56.9245)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822CA #54CA22
analogous
#4422CA #9822CA #CA22A8
triadic
#9822CA #CA9822 #22CA98
tetradic
#9822CA #CA4422 #54CA22 #22A8CA
square
#9822CA #CA4422 #54CA22 #22A8CA
split-complementary
#9822CA #A8CA22 #22CA44
monochromatic
#491061 #711996 #9822CA #B349E0 #C97DE9

Accessibility & contrast

On white

6.15
#9822CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9822CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822CA
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822CA#FFFFFF#000000##FFFFFF
##9822CA1.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)
#005CCE
Deuteranopia (green-blind)
#0064C7
Tritanopia (blue-blind)
#924F79
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9822ca;
/* rgb */ color: rgb(152, 34, 202);
/* oklch */ color: oklch(52.6% 0.239 312.5);
Tailwind
colors: {
  custom: {
    50: '#bc6edb',
    500: '#9822ca',
    950: '#000000',
  },
}
SCSS
$custom: #9822ca;
$custom-light: #bc6edb;
$custom-dark: #000000;
JSON
{
  "hex": "#9822ca",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 202
  },
  "hsl": {
    "h": 282.143,
    "s": 71.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.23941,
    "h": 312.5
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#9822CA
secondary
#92D177
accent
#EE3A6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9822CA

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

Preview Lab → · Contrast checker → · Palette generator →

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