#C752C1#C752C1

#C752C1 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.9% C 0.198 H 329.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C752C1
RGBrgb(199, 82, 193)
HSLhsl(303, 51%, 55%)
HSVhsv(303, 59%, 78%)
CMYKcmyk(0%, 58.8%, 3%, 22%)
CIE-LABlab(54.06, 60.44, -36.33)
CIE-LCHlch(54.06, 70.52, 328.99°)
OKLaboklab(62.94% 0.1705 -0.0998)
OKLCHoklch(62.94% 0.198 329.7)
XYZxyz(36.1958, 22.0294, 52.7874)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752C1 #52C758
analogous
#9352C7 #C752C1 #C75286
triadic
#C752C1 #C1C752 #52C1C7
tetradic
#C752C1 #C79352 #52C758 #5286C7
square
#C752C1 #C79352 #52C758 #5286C7
split-complementary
#C752C1 #86C752 #52C793
monochromatic
#782774 #A636A0 #C752C1 #D680D2 #E5AEE2

Accessibility & contrast

On white

3.89
#C752C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#C752C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752C1
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752C1#FFFFFF#000000##000000
##C752C11.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4977C4
Deuteranopia (green-blind)
#7087BE
Tritanopia (blue-blind)
#CE5E82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c752c1;
/* rgb */ color: rgb(199, 82, 193);
/* oklch */ color: oklch(62.9% 0.198 329.7);
Tailwind
colors: {
  custom: {
    50: '#db89d4',
    500: '#c752c1',
    950: '#000000',
  },
}
SCSS
$custom: #c752c1;
$custom-light: #db89d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c752c1",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 303.077,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.19758,
    "h": 329.7
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#C752C1
secondary
#A2D3A4
accent
#DB544D
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C752C1

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

Preview Lab → · Contrast checker → · Palette generator →

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