#C82AC1#C82AC1

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

Color values

HEX#C82AC1
RGBrgb(200, 42, 193)
HSLhsl(303, 65%, 47%)
HSVhsv(303, 79%, 78%)
CMYKcmyk(0%, 79%, 3.5%, 21.6%)
CIE-LABlab(49.24, 74.68, -43.92)
CIE-LCHlch(49.24, 86.64, 329.54°)
OKLaboklab(59.49% 0.2117 -0.1214)
OKLCHoklch(59.49% 0.244 330.2)
XYZxyz(34.2729, 17.7883, 52.0701)
Luminance0.1779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C82AC1 #2AC831
analogous
#802AC8 #C82AC1 #C82A72
triadic
#C82AC1 #C1C82A #2AC1C8
tetradic
#C82AC1 #C8802A #2AC831 #2A72C8
square
#C82AC1 #C8802A #2AC831 #2A72C8
split-complementary
#C82AC1 #72C82A #2AC880
monochromatic
#63155F #951F90 #C82AC1 #DB54D5 #E687E2

Accessibility & contrast

On white

4.61
#C82AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C82AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C82AC1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C82AC1#FFFFFF#000000##FFFFFF
##C82AC11.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C5
Deuteranopia (green-blind)
#5D7CBD
Tritanopia (blue-blind)
#D04276
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c82ac1;
/* rgb */ color: rgb(200, 42, 193);
/* oklch */ color: oklch(59.5% 0.244 330.2);
Tailwind
colors: {
  custom: {
    50: '#dd77d4',
    500: '#c82ac1',
    950: '#000000',
  },
}
SCSS
$custom: #c82ac1;
$custom-light: #dd77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c82ac1",
  "rgb": {
    "r": 200,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 302.658,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5949,
    "c": 0.24406,
    "h": 330.2
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C82AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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