#9820A0#9820A0

#9820A0 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.207 H 325.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#9820A0
RGBrgb(152, 32, 160)
HSLhsl(296, 67%, 38%)
HSVhsv(296, 80%, 63%)
CMYKcmyk(5%, 80%, 0%, 37.3%)
CIE-LABlab(38.28, 62.47, -42.34)
CIE-LCHlch(38.28, 75.47, 325.87°)
OKLaboklab(49.55% 0.1702 -0.118)
OKLCHoklch(49.55% 0.207 325.3)
XYZxyz(19.8101, 10.2478, 34.1855)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A0 #28A020
analogous
#5820A0 #9820A0 #A02068
triadic
#9820A0 #A09820 #20A098
tetradic
#9820A0 #A05820 #28A020 #2068A0
square
#9820A0 #A05820 #28A020 #2068A0
split-complementary
#9820A0 #68A020 #20A058
monochromatic
#370C3A #68166D #9820A0 #C82AD3 #D65CDE

Accessibility & contrast

On white

6.89
#9820A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#9820A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820A0
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A0#FFFFFF#000000##FFFFFF
##9820A01.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#3E5F9D
Tritanopia (blue-blind)
#9C3961
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9820a0;
/* rgb */ color: rgb(152, 32, 160);
/* oklch */ color: oklch(49.5% 0.207 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba6bbd',
    500: '#9820a0',
    950: '#000000',
  },
}
SCSS
$custom: #9820a0;
$custom-light: #ba6bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a0",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 160
  },
  "hsl": {
    "h": 296.25,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.20713,
    "h": 325.3
  },
  "luminance": 0.10246
}

Semantic roles & 50–950 ramp

primary
#9820A0
secondary
#60C359
accent
#EA3E49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9820A0

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

Preview Lab → · Contrast checker → · Palette generator →

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