#9820A9#9820A9

#9820A9 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.214 H 322.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9820A9
RGBrgb(152, 32, 169)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 66%)
CMYKcmyk(10.1%, 81.1%, 0%, 33.7%)
CIE-LABlab(38.85, 64.03, -46.83)
CIE-LCHlch(38.85, 79.33, 323.82°)
OKLaboklab(50.13% 0.1693 -0.1311)
OKLCHoklch(50.13% 0.214 322.2)
XYZxyz(20.6261, 10.5742, 38.4830)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A9 #31A920
analogous
#5420A9 #9820A9 #A92076
triadic
#9820A9 #A99820 #20A998
tetradic
#9820A9 #A95420 #31A920 #2076A9
square
#9820A9 #A95420 #31A920 #2076A9
split-complementary
#9820A9 #76A920 #20A954
monochromatic
#3B0D42 #6A1676 #9820A9 #C32FD8 #D262E1

Accessibility & contrast

On white

6.74
#9820A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9820A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820A9
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A9#FFFFFF#000000##FFFFFF
##9820A91.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#3660A6
Tritanopia (blue-blind)
#9A3D66
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9820a9;
/* rgb */ color: rgb(152, 32, 169);
/* oklch */ color: oklch(50.1% 0.214 322.2);
Tailwind
colors: {
  custom: {
    50: '#ba6cc3',
    500: '#9820a9',
    950: '#000000',
  },
}
SCSS
$custom: #9820a9;
$custom-light: #ba6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a9",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 292.555,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50134,
    "c": 0.21418,
    "h": 322.2
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#9820A9
secondary
#6BC65F
accent
#EB3D52
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #9820A9

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

Preview Lab → · Contrast checker → · Palette generator →

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