#C82AC2#C82AC2

#C82AC2 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.5% C 0.245 H 329.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C82AC2
RGBrgb(200, 42, 194)
HSLhsl(302, 65%, 47%)
HSVhsv(302, 79%, 78%)
CMYKcmyk(0%, 79%, 3%, 21.6%)
CIE-LABlab(49.29, 74.83, -44.41)
CIE-LCHlch(49.29, 87.02, 329.31°)
OKLaboklab(59.55% 0.2117 -0.1229)
OKLCHoklch(59.55% 0.245 329.9)
XYZxyz(34.3848, 17.8331, 52.6596)
Luminance0.1783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82AC2 #2AC830
analogous
#7F2AC8 #C82AC2 #C82A73
triadic
#C82AC2 #C2C82A #2AC2C8
tetradic
#C82AC2 #C87F2A #2AC830 #2A73C8
square
#C82AC2 #C87F2A #2AC830 #2A73C8
split-complementary
#C82AC2 #73C82A #2AC87F
monochromatic
#631560 #951F91 #C82AC2 #DB54D6 #E687E2

Accessibility & contrast

On white

4.60
#C82AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C82AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C82AC2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82AC2#FFFFFF#000000##FFFFFF
##C82AC21.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#5D7CBE
Tritanopia (blue-blind)
#CF4376
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c82ac2;
/* rgb */ color: rgb(200, 42, 194);
/* oklch */ color: oklch(59.5% 0.245 329.9);
Tailwind
colors: {
  custom: {
    50: '#dd77d5',
    500: '#c82ac2',
    950: '#000000',
  },
}
SCSS
$custom: #c82ac2;
$custom-light: #dd77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c82ac2",
  "rgb": {
    "r": 200,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 302.278,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.59547,
    "c": 0.24476,
    "h": 329.9
  },
  "luminance": 0.1783
}

Semantic roles & 50–950 ramp

primary
#C82AC2
secondary
#7FCF82
accent
#E84640
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C82AC2

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

Preview Lab → · Contrast checker → · Palette generator →

#C82AC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva