#9820A6#9820A6

#9820A6 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.212 H 323.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9820A6
RGBrgb(152, 32, 166)
HSLhsl(294, 68%, 39%)
HSVhsv(294, 81%, 65%)
CMYKcmyk(8.4%, 80.7%, 0%, 34.9%)
CIE-LABlab(38.66, 63.50, -45.34)
CIE-LCHlch(38.66, 78.03, 324.47°)
OKLaboklab(49.94% 0.1697 -0.1268)
OKLCHoklch(49.94% 0.212 323.2)
XYZxyz(20.3477, 10.4629, 37.0168)
Luminance0.1046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A6 #2EA620
analogous
#5520A6 #9820A6 #A62071
triadic
#9820A6 #A69820 #20A698
tetradic
#9820A6 #A65520 #2EA620 #2071A6
square
#9820A6 #A65520 #2EA620 #2071A6
split-complementary
#9820A6 #71A620 #20A655
monochromatic
#3A0C3F #691673 #9820A6 #C52DD6 #D360E0

Accessibility & contrast

On white

6.79
#9820A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9820A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820A6
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A6#FFFFFF#000000##FFFFFF
##9820A61.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#3960A3
Tritanopia (blue-blind)
#9A3C64
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9820a6;
/* rgb */ color: rgb(152, 32, 166);
/* oklch */ color: oklch(49.9% 0.212 323.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cc1',
    500: '#9820a6',
    950: '#000000',
  },
}
SCSS
$custom: #9820a6;
$custom-light: #ba6cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a6",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 166
  },
  "hsl": {
    "h": 293.731,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49936,
    "c": 0.21182,
    "h": 323.2
  },
  "luminance": 0.10462
}

Semantic roles & 50–950 ramp

primary
#9820A6
secondary
#68C55D
accent
#EB3D4F
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9820A6

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

Preview Lab → · Contrast checker → · Palette generator →

#9820A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva