#C752DC#C752DC

#C752DC is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.221 H 321.3°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C752DC
RGBrgb(199, 82, 220)
HSLhsl(291, 66%, 59%)
HSVhsv(291, 63%, 86%)
CMYKcmyk(9.5%, 62.7%, 0%, 13.7%)
CIE-LABlab(55.43, 65.21, -49.56)
CIE-LCHlch(55.43, 81.91, 322.76°)
OKLaboklab(64.38% 0.1722 -0.1381)
OKLCHoklch(64.38% 0.221 321.3)
XYZxyz(39.4873, 23.3460, 70.1226)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752DC #67DC52
analogous
#8252DC #C752DC #DC52AC
triadic
#C752DC #DCC752 #52DCC7
tetradic
#C752DC #DC8252 #67DC52 #52ACDC
square
#C752DC #DC8252 #67DC52 #52ACDC
split-complementary
#C752DC #ACDC52 #52DC82
monochromatic
#831E95 #B029C8 #C752DC #D785E6 #E8B8F1

Accessibility & contrast

On white

3.70
#C752DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C752DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752DC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752DC#FFFFFF#000000##000000
##C752DC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#307CE0
Deuteranopia (green-blind)
#6189D9
Tritanopia (blue-blind)
#C96890
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c752dc;
/* rgb */ color: rgb(199, 82, 220);
/* oklch */ color: oklch(64.4% 0.221 321.3);
Tailwind
colors: {
  custom: {
    50: '#db8ae7',
    500: '#c752dc',
    950: '#000000',
  },
}
SCSS
$custom: #c752dc;
$custom-light: #db8ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#c752dc",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 290.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64376,
    "c": 0.22078,
    "h": 321.3
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#C752DC
secondary
#B2E0AA
accent
#E93F59
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752DC

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

Preview Lab → · Contrast checker → · Palette generator →

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