#9822B3#9822B3

#9822B3 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.9% C 0.221 H 319.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9822B3
RGBrgb(152, 34, 179)
HSLhsl(289, 68%, 42%)
HSVhsv(289, 81%, 70%)
CMYKcmyk(15.1%, 81%, 0%, 29.8%)
CIE-LABlab(39.71, 65.27, -51.41)
CIE-LCHlch(39.71, 83.09, 321.78°)
OKLaboklab(50.95% 0.1665 -0.1446)
OKLCHoklch(50.95% 0.221 319)
XYZxyz(21.6565, 11.0752, 43.6361)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822B3 #3DB322
analogous
#5022B3 #9822B3 #B32285
triadic
#9822B3 #B39822 #22B398
tetradic
#9822B3 #B35022 #3DB322 #2285B3
square
#9822B3 #B35022 #3DB322 #2285B3
split-complementary
#9822B3 #85B322 #22B350
monochromatic
#410E4C #6C1880 #9822B3 #BB39D9 #CD6CE3

Accessibility & contrast

On white

6.53
#9822B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9822B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822B3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822B3#FFFFFF#000000##FFFFFF
##9822B31.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#2D61B0
Tritanopia (blue-blind)
#98436C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9822b3;
/* rgb */ color: rgb(152, 34, 179);
/* oklch */ color: oklch(50.9% 0.221 319.0);
Tailwind
colors: {
  custom: {
    50: '#bb6dca',
    500: '#9822b3',
    950: '#000000',
  },
}
SCSS
$custom: #9822b3;
$custom-light: #bb6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9822b3",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 179
  },
  "hsl": {
    "h": 288.828,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.2205,
    "h": 319
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#9822B3
secondary
#7AC968
accent
#EB3D5D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9822B3

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

Preview Lab → · Contrast checker → · Palette generator →

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