#9820A8#9820A8

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

Color values

HEX#9820A8
RGBrgb(152, 32, 168)
HSLhsl(293, 68%, 39%)
HSVhsv(293, 81%, 66%)
CMYKcmyk(9.5%, 81%, 0%, 34.1%)
CIE-LABlab(38.79, 63.85, -46.34)
CIE-LCHlch(38.79, 78.89, 324.03°)
OKLaboklab(50.07% 0.1695 -0.1297)
OKLCHoklch(50.07% 0.213 322.6)
XYZxyz(20.5326, 10.5368, 37.9905)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820A8 #30A820
analogous
#5420A8 #9820A8 #A82074
triadic
#9820A8 #A89820 #20A898
tetradic
#9820A8 #A85420 #30A820 #2074A8
square
#9820A8 #A85420 #30A820 #2074A8
split-complementary
#9820A8 #74A820 #20A854
monochromatic
#3B0C41 #691675 #9820A8 #C32ED7 #D261E1

Accessibility & contrast

On white

6.76
#9820A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9820A8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820A8#FFFFFF#000000##FFFFFF
##9820A81.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3760A5
Tritanopia (blue-blind)
#9A3D65
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9820a8;
/* rgb */ color: rgb(152, 32, 168);
/* oklch */ color: oklch(50.1% 0.213 322.6);
Tailwind
colors: {
  custom: {
    50: '#ba6cc2',
    500: '#9820a8',
    950: '#000000',
  },
}
SCSS
$custom: #9820a8;
$custom-light: #ba6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9820a8",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 292.941,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50067,
    "c": 0.2134,
    "h": 322.6
  },
  "luminance": 0.10536
}

Semantic roles & 50–950 ramp

primary
#9820A8
secondary
#6AC65E
accent
#EB3D51
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #9820A8

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

Preview Lab → · Contrast checker → · Palette generator →

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