#9820A5#9820A5

#9820A5 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.9% C 0.211 H 323.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#9820A5
RGBrgb(152, 32, 165)
HSLhsl(294, 68%, 39%)
HSVhsv(294, 81%, 65%)
CMYKcmyk(7.9%, 80.6%, 0%, 35.3%)
CIE-LABlab(38.60, 63.33, -44.85)
CIE-LCHlch(38.60, 77.60, 324.70°)
OKLaboklab(49.87% 0.1698 -0.1253)
OKLCHoklch(49.87% 0.211 323.6)
XYZxyz(20.2563, 10.4263, 36.5356)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A5 #2DA520
analogous
#5520A5 #9820A5 #A5206F
triadic
#9820A5 #A59820 #20A598
tetradic
#9820A5 #A55520 #2DA520 #206FA5
square
#9820A5 #A55520 #2DA520 #206FA5
split-complementary
#9820A5 #6FA520 #20A555
monochromatic
#3A0C3E #691672 #9820A5 #C52CD6 #D35FE0

Accessibility & contrast

On white

6.81
#9820A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9820A5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A5#FFFFFF#000000##FFFFFF
##9820A51.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#3A5FA2
Tritanopia (blue-blind)
#9B3B63
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9820a5;
/* rgb */ color: rgb(152, 32, 165);
/* oklch */ color: oklch(49.9% 0.211 323.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cc0',
    500: '#9820a5',
    950: '#000000',
  },
}
SCSS
$custom: #9820a5;
$custom-light: #ba6cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a5",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 294.135,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4987,
    "c": 0.21103,
    "h": 323.6
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#9820A5
secondary
#66C55C
accent
#EA3D4E
background
#FBF6FB
surface
#F7ECF7
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9820A5

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

Preview Lab → · Contrast checker → · Palette generator →

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