#9822A9#9822A9

#9822A9 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.212 H 322.2°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9822A9
RGBrgb(152, 34, 169)
HSLhsl(292, 67%, 40%)
HSVhsv(292, 80%, 66%)
CMYKcmyk(10.1%, 79.9%, 0%, 33.7%)
CIE-LABlab(39.05, 63.47, -46.52)
CIE-LCHlch(39.05, 78.70, 323.76°)
OKLaboklab(50.27% 0.1678 -0.1303)
OKLCHoklch(50.27% 0.212 322.2)
XYZxyz(20.6816, 10.6852, 38.5015)
Luminance0.1068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822A9 #33A922
analogous
#5422A9 #9822A9 #A92277
triadic
#9822A9 #A99822 #22A998
tetradic
#9822A9 #A95422 #33A922 #2277A9
square
#9822A9 #A95422 #33A922 #2277A9
split-complementary
#9822A9 #77A922 #22A954
monochromatic
#3C0D43 #6A1876 #9822A9 #C132D6 #D165E0

Accessibility & contrast

On white

6.69
#9822A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9822A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822A9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822A9#FFFFFF#000000##FFFFFF
##9822A91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#3760A6
Tritanopia (blue-blind)
#9A3E66
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9822a9;
/* rgb */ color: rgb(152, 34, 169);
/* oklch */ color: oklch(50.3% 0.212 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cc3',
    500: '#9822a9',
    950: '#000000',
  },
}
SCSS
$custom: #9822a9;
$custom-light: #ba6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9822a9",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 292.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.21246,
    "h": 322.2
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

primary
#9822A9
secondary
#6EC561
accent
#E93E54
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9822A9

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

Preview Lab → · Contrast checker → · Palette generator →

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