#C752CC#C752CC

#C752CC is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.5% C 0.207 H 326.0°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C752CC
RGBrgb(199, 82, 204)
HSLhsl(298, 54%, 56%)
HSVhsv(298, 60%, 80%)
CMYKcmyk(2.5%, 59.8%, 0%, 20%)
CIE-LABlab(54.59, 62.33, -41.79)
CIE-LCHlch(54.59, 75.05, 326.16°)
OKLaboklab(63.5% 0.1715 -0.1156)
OKLCHoklch(63.5% 0.207 326)
XYZxyz(37.4688, 22.5386, 59.4919)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752CC #57CC52
analogous
#8A52CC #C752CC #CC5294
triadic
#C752CC #CCC752 #52CCC7
tetradic
#C752CC #CC8A52 #57CC52 #5294CC
square
#C752CC #CC8A52 #57CC52 #5294CC
split-complementary
#C752CC #94CC52 #52CC8A
monochromatic
#7B257E #A933AE #C752CC #D681DA #E6B1E8

Accessibility & contrast

On white

3.81
#C752CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C752CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752CC#FFFFFF#000000##000000
##C752CC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#6A88C9
Tritanopia (blue-blind)
#CC6288
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c752cc;
/* rgb */ color: rgb(199, 82, 204);
/* oklch */ color: oklch(63.5% 0.207 326.0);
Tailwind
colors: {
  custom: {
    50: '#db8adc',
    500: '#c752cc',
    950: '#000000',
  },
}
SCSS
$custom: #c752cc;
$custom-light: #db8adc;
$custom-dark: #000000;
JSON
{
  "hex": "#c752cc",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 297.541,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63502,
    "c": 0.20683,
    "h": 326
  },
  "luminance": 0.22536
}

Semantic roles & 50–950 ramp

primary
#C752CC
secondary
#A6D6A4
accent
#DE4A50
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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