#C752E2#C752E2

#C752E2 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.7% C 0.226 H 319.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#C752E2
RGBrgb(199, 82, 226)
HSLhsl(289, 71%, 60%)
HSVhsv(289, 64%, 89%)
CMYKcmyk(11.9%, 63.7%, 0%, 11.4%)
CIE-LABlab(55.76, 66.33, -52.43)
CIE-LCHlch(55.76, 84.55, 321.68°)
OKLaboklab(64.72% 0.1723 -0.1465)
OKLCHoklch(64.72% 0.226 319.6)
XYZxyz(40.2962, 23.6695, 74.3829)
Luminance0.2367 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E2 #6DE252
analogous
#7F52E2 #C752E2 #E252B5
triadic
#C752E2 #E2C752 #52E2C7
tetradic
#C752E2 #E27F52 #6DE252 #52B5E2
square
#C752E2 #E27F52 #6DE252 #52B5E2
split-complementary
#C752E2 #B5E252 #52E27F
monochromatic
#861B9F #B223D3 #C752E2 #D886EB #E9BBF4

Accessibility & contrast

On white

3.66
#C752E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#C752E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E2#FFFFFF#000000##000000
##C752E21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#277EE6
Deuteranopia (green-blind)
#5D8ADE
Tritanopia (blue-blind)
#C86B93
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c752e2;
/* rgb */ color: rgb(199, 82, 226);
/* oklch */ color: oklch(64.7% 0.226 319.6);
Tailwind
colors: {
  custom: {
    50: '#db8aec',
    500: '#c752e2',
    950: '#000000',
  },
}
SCSS
$custom: #c752e2;
$custom-light: #db8aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e2",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 288.75,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64719,
    "c": 0.22613,
    "h": 319.6
  },
  "luminance": 0.23668
}

Semantic roles & 50–950 ramp

primary
#C752E2
secondary
#B7E3AC
accent
#D31236
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752E2

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

Preview Lab → · Contrast checker → · Palette generator →

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