#C752D2#C752D2

#C752D2 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.212 H 324.2°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C752D2
RGBrgb(199, 82, 210)
HSLhsl(295, 59%, 57%)
HSVhsv(295, 61%, 82%)
CMYKcmyk(5.2%, 61%, 0%, 17.6%)
CIE-LABlab(54.90, 63.40, -44.73)
CIE-LCHlch(54.90, 77.59, 324.79°)
OKLaboklab(63.82% 0.1719 -0.1241)
OKLCHoklch(63.82% 0.212 324.2)
XYZxyz(38.2023, 22.8320, 63.3551)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752D2 #5DD252
analogous
#8752D2 #C752D2 #D2529D
triadic
#C752D2 #D2C752 #52D2C7
tetradic
#C752D2 #D28752 #5DD252 #529DD2
square
#C752D2 #D28752 #5DD252 #529DD2
split-complementary
#C752D2 #9DD252 #52D287
monochromatic
#7E2387 #AC30B7 #C752D2 #D783DF #E6B3EB

Accessibility & contrast

On white

3.77
#C752D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C752D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752D2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752D2#FFFFFF#000000##000000
##C752D21.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#6788CF
Tritanopia (blue-blind)
#CB658B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c752d2;
/* rgb */ color: rgb(199, 82, 210);
/* oklch */ color: oklch(63.8% 0.212 324.2);
Tailwind
colors: {
  custom: {
    50: '#db8ae0',
    500: '#c752d2',
    950: '#000000',
  },
}
SCSS
$custom: #c752d2;
$custom-light: #db8ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#c752d2",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 294.844,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.63822,
    "c": 0.212,
    "h": 324.2
  },
  "luminance": 0.2283
}

Semantic roles & 50–950 ramp

primary
#C752D2
secondary
#AADAA6
accent
#E24653
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C752D2

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

Preview Lab → · Contrast checker → · Palette generator →

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