#9822A7#9822A7

#9822A7 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.211 H 322.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9822A7
RGBrgb(152, 34, 167)
HSLhsl(293, 66%, 39%)
HSVhsv(293, 80%, 65%)
CMYKcmyk(9%, 79.6%, 0%, 34.5%)
CIE-LABlab(38.92, 63.12, -45.53)
CIE-LCHlch(38.92, 77.83, 324.19°)
OKLaboklab(50.14% 0.1681 -0.1274)
OKLCHoklch(50.14% 0.211 322.8)
XYZxyz(20.4953, 10.6107, 37.5203)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822A7 #31A722
analogous
#5622A7 #9822A7 #A72274
triadic
#9822A7 #A79822 #22A798
tetradic
#9822A7 #A75622 #31A722 #2274A7
square
#9822A7 #A75622 #31A722 #2274A7
split-complementary
#9822A7 #74A722 #22A756
monochromatic
#3B0D41 #6A1874 #9822A7 #C331D5 #D264DF

Accessibility & contrast

On white

6.73
#9822A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9822A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822A7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822A7#FFFFFF#000000##FFFFFF
##9822A71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#3960A4
Tritanopia (blue-blind)
#9A3D65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9822a7;
/* rgb */ color: rgb(152, 34, 167);
/* oklch */ color: oklch(50.1% 0.211 322.8);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9822a7',
    950: '#000000',
  },
}
SCSS
$custom: #9822a7;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9822a7",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 293.233,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50137,
    "c": 0.21086,
    "h": 322.8
  },
  "luminance": 0.10609
}

Semantic roles & 50–950 ramp

primary
#9822A7
secondary
#6BC560
accent
#E93F52
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9822A7

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

Preview Lab → · Contrast checker → · Palette generator →

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