#9822A5#9822A5

#9822A5 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.209 H 323.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9822A5
RGBrgb(152, 34, 165)
HSLhsl(294, 66%, 39%)
HSVhsv(294, 79%, 65%)
CMYKcmyk(7.9%, 79.4%, 0%, 35.3%)
CIE-LABlab(38.79, 62.77, -44.54)
CIE-LCHlch(38.79, 76.96, 324.64°)
OKLaboklab(50.01% 0.1682 -0.1245)
OKLCHoklch(50.01% 0.209 323.5)
XYZxyz(20.3118, 10.5373, 36.5541)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822A5 #2FA522
analogous
#5722A5 #9822A5 #A52271
triadic
#9822A5 #A59822 #22A598
tetradic
#9822A5 #A55722 #2FA522 #2271A5
square
#9822A5 #A55722 #2FA522 #2271A5
split-complementary
#9822A5 #71A522 #22A557
monochromatic
#3B0D40 #691872 #9822A5 #C430D4 #D263DF

Accessibility & contrast

On white

6.76
#9822A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9822A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822A5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822A5#FFFFFF#000000##FFFFFF
##9822A51.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#3B60A2
Tritanopia (blue-blind)
#9B3C64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9822a5;
/* rgb */ color: rgb(152, 34, 165);
/* oklch */ color: oklch(50.0% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#ba6cc0',
    500: '#9822a5',
    950: '#000000',
  },
}
SCSS
$custom: #9822a5;
$custom-light: #ba6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9822a5",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 294.046,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.20927,
    "h": 323.5
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#9822A5
secondary
#69C45F
accent
#E93F50
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9822A5

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

Preview Lab → · Contrast checker → · Palette generator →

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