#9822A1#9822A1

#9822A1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.8% C 0.206 H 324.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9822A1
RGBrgb(152, 34, 161)
HSLhsl(296, 65%, 38%)
HSVhsv(296, 79%, 63%)
CMYKcmyk(5.6%, 78.9%, 0%, 36.9%)
CIE-LABlab(38.54, 62.08, -42.53)
CIE-LCHlch(38.54, 75.25, 325.58°)
OKLaboklab(49.75% 0.1686 -0.1186)
OKLCHoklch(49.75% 0.206 324.9)
XYZxyz(19.9534, 10.3940, 34.6666)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822A1 #2BA122
analogous
#5822A1 #9822A1 #A1226A
triadic
#9822A1 #A19822 #22A198
tetradic
#9822A1 #A15822 #2BA122 #226AA1
square
#9822A1 #A15822 #2BA122 #226AA1
split-complementary
#9822A1 #6AA122 #22A158
monochromatic
#390D3C #68176E #9822A1 #C72DD3 #D560DD

Accessibility & contrast

On white

6.82
#9822A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9822A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822A1
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822A1#FFFFFF#000000##FFFFFF
##9822A11.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#3E5F9E
Tritanopia (blue-blind)
#9B3A62
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9822a1;
/* rgb */ color: rgb(152, 34, 161);
/* oklch */ color: oklch(49.8% 0.206 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cbd',
    500: '#9822a1',
    950: '#000000',
  },
}
SCSS
$custom: #9822a1;
$custom-light: #ba6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9822a1",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 295.748,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.20612,
    "h": 324.9
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#9822A1
secondary
#64C25D
accent
#E8404C
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9822A1

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

Preview Lab → · Contrast checker → · Palette generator →

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