#9820C3#9820C3

#9820C3 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 52.0% C 0.235 H 314.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9820C3
RGBrgb(152, 32, 195)
HSLhsl(284, 72%, 45%)
HSVhsv(284, 84%, 76%)
CMYKcmyk(22.1%, 83.6%, 0%, 23.5%)
CIE-LABlab(40.65, 68.79, -59.29)
CIE-LCHlch(40.65, 90.82, 319.24°)
OKLaboklab(51.97% 0.1648 -0.1677)
OKLCHoklch(51.97% 0.235 314.5)
XYZxyz(23.3141, 11.6494, 52.6396)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9820C3 #4BC320
analogous
#4720C3 #9820C3 #C3209C
triadic
#9820C3 #C39820 #20C398
tetradic
#9820C3 #C34720 #4BC320 #209CC3
square
#9820C3 #C34720 #4BC320 #209CC3
split-complementary
#9820C3 #9CC320 #20C347
monochromatic
#460F5A #6F178E #9820C3 #B640E0 #CA75E8

Accessibility & contrast

On white

6.31
#9820C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9820C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9820C3
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9820C3#FFFFFF#000000##FFFFFF
##9820C31.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#0B63C0
Tritanopia (blue-blind)
#944A75
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9820c3;
/* rgb */ color: rgb(152, 32, 195);
/* oklch */ color: oklch(52.0% 0.235 314.5);
Tailwind
colors: {
  custom: {
    50: '#bb6dd6',
    500: '#9820c3',
    950: '#000000',
  },
}
SCSS
$custom: #9820c3;
$custom-light: #bb6dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#9820c3",
  "rgb": {
    "r": 152,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 284.172,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51965,
    "c": 0.23512,
    "h": 314.5
  },
  "luminance": 0.11649
}

Semantic roles & 50–950 ramp

primary
#9820C3
secondary
#89CF6F
accent
#EF3969
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9820C3

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

Preview Lab → · Contrast checker → · Palette generator →

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