#C752C2#C752C2

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

Color values

HEX#C752C2
RGBrgb(199, 82, 194)
HSLhsl(303, 51%, 55%)
HSVhsv(303, 59%, 78%)
CMYKcmyk(0%, 58.8%, 2.5%, 22%)
CIE-LABlab(54.11, 60.61, -36.83)
CIE-LCHlch(54.11, 70.92, 328.72°)
OKLaboklab(62.99% 0.1706 -0.1012)
OKLCHoklch(62.99% 0.198 329.3)
XYZxyz(36.3077, 22.0742, 53.3769)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752C2 #52C757
analogous
#9152C7 #C752C2 #C75288
triadic
#C752C2 #C2C752 #52C2C7
tetradic
#C752C2 #C79152 #52C757 #5288C7
square
#C752C2 #C79152 #52C757 #5288C7
split-complementary
#C752C2 #88C752 #52C791
monochromatic
#782774 #A636A1 #C752C2 #D680D2 #E5AEE3

Accessibility & contrast

On white

3.88
#C752C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C752C2#FFFFFF#000000##000000
##C752C21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4877C5
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#CE5F82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c752c2;
/* rgb */ color: rgb(199, 82, 194);
/* oklch */ color: oklch(63.0% 0.198 329.3);
Tailwind
colors: {
  custom: {
    50: '#db89d5',
    500: '#c752c2',
    950: '#000000',
  },
}
SCSS
$custom: #c752c2;
$custom-light: #db89d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c752c2",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 302.564,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.1984,
    "h": 329.3
  },
  "luminance": 0.22072
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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