#9822AF#9822AF

#9822AF is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.7% C 0.217 H 320.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9822AF
RGBrgb(152, 34, 175)
HSLhsl(290, 67%, 41%)
HSVhsv(290, 81%, 69%)
CMYKcmyk(13.1%, 80.6%, 0%, 31.4%)
CIE-LABlab(39.44, 64.55, -49.47)
CIE-LCHlch(39.44, 81.32, 322.53°)
OKLaboklab(50.67% 0.1671 -0.1389)
OKLCHoklch(50.67% 0.217 320.3)
XYZxyz(21.2578, 10.9157, 41.5364)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822AF #39AF22
analogous
#5122AF #9822AF #AF227F
triadic
#9822AF #AF9822 #22AF98
tetradic
#9822AF #AF5122 #39AF22 #227FAF
square
#9822AF #AF5122 #39AF22 #227FAF
split-complementary
#9822AF #7FAF22 #22AF51
monochromatic
#3F0E49 #6B187C #9822AF #BE36D8 #CE69E2

Accessibility & contrast

On white

6.60
#9822AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9822AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822AF
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822AF#FFFFFF#000000##FFFFFF
##9822AF1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#3261AC
Tritanopia (blue-blind)
#99416A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9822af;
/* rgb */ color: rgb(152, 34, 175);
/* oklch */ color: oklch(50.7% 0.217 320.3);
Tailwind
colors: {
  custom: {
    50: '#bb6dc8',
    500: '#9822af',
    950: '#000000',
  },
}
SCSS
$custom: #9822af;
$custom-light: #bb6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9822af",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 175
  },
  "hsl": {
    "h": 290.213,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.21727,
    "h": 320.3
  },
  "luminance": 0.10915
}

Semantic roles & 50–950 ramp

primary
#9822AF
secondary
#75C865
accent
#EA3D5A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9822AF

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

Preview Lab → · Contrast checker → · Palette generator →

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