#9822A0#9822A0

#9822A0 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.205 H 325.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#9822A0
RGBrgb(152, 34, 160)
HSLhsl(296, 65%, 38%)
HSVhsv(296, 79%, 63%)
CMYKcmyk(5%, 78.8%, 0%, 37.3%)
CIE-LABlab(38.48, 61.90, -42.03)
CIE-LCHlch(38.48, 74.82, 325.83°)
OKLaboklab(49.69% 0.1687 -0.1171)
OKLCHoklch(49.69% 0.205 325.2)
XYZxyz(19.8656, 10.3589, 34.2040)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822A0 #2AA022
analogous
#5922A0 #9822A0 #A02269
triadic
#9822A0 #A09822 #22A098
tetradic
#9822A0 #A05922 #2AA022 #2269A0
square
#9822A0 #A05922 #2AA022 #2269A0
split-complementary
#9822A0 #69A022 #22A059
monochromatic
#380D3B #68176E #9822A0 #C82DD2 #D55FDD

Accessibility & contrast

On white

6.84
#9822A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9822A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822A0
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822A0#FFFFFF#000000##FFFFFF
##9822A01.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#3F5F9D
Tritanopia (blue-blind)
#9C3A61
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9822a0;
/* rgb */ color: rgb(152, 34, 160);
/* oklch */ color: oklch(49.7% 0.205 325.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cbd',
    500: '#9822a0',
    950: '#000000',
  },
}
SCSS
$custom: #9822a0;
$custom-light: #ba6cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9822a0",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 296.19,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.20533,
    "h": 325.2
  },
  "luminance": 0.10358
}

Semantic roles & 50–950 ramp

primary
#9822A0
secondary
#62C25C
accent
#E8404B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9822A0

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

Preview Lab → · Contrast checker → · Palette generator →

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