#9820AF#9820AF

#9820AF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.219 H 320.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9820AF
RGBrgb(152, 32, 175)
HSLhsl(290, 69%, 41%)
HSVhsv(290, 82%, 69%)
CMYKcmyk(13.1%, 81.7%, 0%, 31.4%)
CIE-LABlab(39.25, 65.09, -49.77)
CIE-LCHlch(39.25, 81.94, 322.60°)
OKLaboklab(50.54% 0.1685 -0.1398)
OKLCHoklch(50.54% 0.219 320.3)
XYZxyz(21.2023, 10.8047, 41.5179)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820AF #37AF20
analogous
#5120AF #9820AF #AF207E
triadic
#9820AF #AF9820 #20AF98
tetradic
#9820AF #AF5120 #37AF20 #207EAF
square
#9820AF #AF5120 #37AF20 #207EAF
split-complementary
#9820AF #7EAF20 #20AF51
monochromatic
#3E0D48 #6B177B #9820AF #BF33DA #CF66E3

Accessibility & contrast

On white

6.64
#9820AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9820AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820AF
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820AF#FFFFFF#000000##FFFFFF
##9820AF1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#3060AC
Tritanopia (blue-blind)
#994169
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9820af;
/* rgb */ color: rgb(152, 32, 175);
/* oklch */ color: oklch(50.5% 0.219 320.3);
Tailwind
colors: {
  custom: {
    50: '#bb6cc8',
    500: '#9820af',
    950: '#000000',
  },
}
SCSS
$custom: #9820af;
$custom-light: #bb6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#9820af",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 175
  },
  "hsl": {
    "h": 290.35,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50538,
    "c": 0.21895,
    "h": 320.3
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#9820AF
secondary
#73C862
accent
#EC3C58
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9820AF

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

Preview Lab → · Contrast checker → · Palette generator →

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