#9822BD#9822BD

#9822BD is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.7% C 0.229 H 316.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9822BD
RGBrgb(152, 34, 189)
HSLhsl(286, 70%, 44%)
HSVhsv(286, 82%, 74%)
CMYKcmyk(19.6%, 82%, 0%, 25.9%)
CIE-LABlab(40.40, 67.13, -56.18)
CIE-LCHlch(40.40, 87.54, 320.07°)
OKLaboklab(51.65% 0.1647 -0.1586)
OKLCHoklch(51.65% 0.229 316.1)
XYZxyz(22.7048, 11.4945, 49.1569)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9822BD #47BD22
analogous
#4A22BD #9822BD #BD2294
triadic
#9822BD #BD9822 #22BD98
tetradic
#9822BD #BD4A22 #47BD22 #2294BD
square
#9822BD #BD4A22 #47BD22 #2294BD
split-complementary
#9822BD #94BD22 #22BD4A
monochromatic
#450F55 #6E1989 #9822BD #B740DD #CB73E6

Accessibility & contrast

On white

6.37
#9822BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9822BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9822BD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9822BD#FFFFFF#000000##FFFFFF
##9822BD1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C1
Deuteranopia (green-blind)
#1E62BA
Tritanopia (blue-blind)
#954872
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9822bd;
/* rgb */ color: rgb(152, 34, 189);
/* oklch */ color: oklch(51.7% 0.229 316.1);
Tailwind
colors: {
  custom: {
    50: '#bb6dd2',
    500: '#9822bd',
    950: '#000000',
  },
}
SCSS
$custom: #9822bd;
$custom-light: #bb6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9822bd",
  "rgb": {
    "r": 152,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 285.677,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.22867,
    "h": 316.1
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#9822BD
secondary
#85CD6E
accent
#EC3B66
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9822BD

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

Preview Lab → · Contrast checker → · Palette generator →

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