#9820A7#9820A7

#9820A7 is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.0% C 0.213 H 322.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#9820A7
RGBrgb(152, 32, 167)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(9%, 80.8%, 0%, 34.5%)
CIE-LABlab(38.72, 63.68, -45.84)
CIE-LCHlch(38.72, 78.46, 324.25°)
OKLaboklab(50% 0.1696 -0.1283)
OKLCHoklch(50% 0.213 322.9)
XYZxyz(20.4398, 10.4997, 37.5018)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A7 #2FA720
analogous
#5520A7 #9820A7 #A72073
triadic
#9820A7 #A79820 #20A798
tetradic
#9820A7 #A75520 #2FA720 #2073A7
square
#9820A7 #A75520 #2FA720 #2073A7
split-complementary
#9820A7 #73A720 #20A755
monochromatic
#3B0C40 #691674 #9820A7 #C42DD7 #D261E1

Accessibility & contrast

On white

6.78
#9820A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9820A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820A7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A7#FFFFFF#000000##FFFFFF
##9820A71.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#3860A4
Tritanopia (blue-blind)
#9A3C65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9820a7;
/* rgb */ color: rgb(152, 32, 167);
/* oklch */ color: oklch(50.0% 0.213 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9820a7',
    950: '#000000',
  },
}
SCSS
$custom: #9820a7;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a7",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 293.333,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.21261,
    "h": 322.9
  },
  "luminance": 0.10498
}

Semantic roles & 50–950 ramp

primary
#9820A7
secondary
#69C55D
accent
#EB3D50
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9820A7

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

Preview Lab → · Contrast checker → · Palette generator →

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