#C752DF#C752DF

#C752DF is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.5% C 0.223 H 320.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#C752DF
RGBrgb(199, 82, 223)
HSLhsl(290, 69%, 60%)
HSVhsv(290, 63%, 87%)
CMYKcmyk(10.8%, 63.2%, 0%, 12.5%)
CIE-LABlab(55.59, 65.77, -51.00)
CIE-LCHlch(55.59, 83.22, 322.21°)
OKLaboklab(64.55% 0.1723 -0.1423)
OKLCHoklch(64.55% 0.223 320.4)
XYZxyz(39.8882, 23.5063, 72.2338)
Luminance0.2350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752DF #6ADF52
analogous
#8052DF #C752DF #DF52B1
triadic
#C752DF #DFC752 #52DFC7
tetradic
#C752DF #DF8052 #6ADF52 #52B1DF
square
#C752DF #DF8052 #6ADF52 #52B1DF
split-complementary
#C752DF #B1DF52 #52DF80
monochromatic
#851D9A #B126CE #C752DF #D886E9 #E8B9F2

Accessibility & contrast

On white

3.68
#C752DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#C752DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752DF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752DF#FFFFFF#000000##000000
##C752DF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7DE3
Deuteranopia (green-blind)
#5F89DB
Tritanopia (blue-blind)
#C86991
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c752df;
/* rgb */ color: rgb(199, 82, 223);
/* oklch */ color: oklch(64.5% 0.223 320.4);
Tailwind
colors: {
  custom: {
    50: '#db8ae9',
    500: '#c752df',
    950: '#000000',
  },
}
SCSS
$custom: #c752df;
$custom-light: #db8ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c752df",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 289.787,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64547,
    "c": 0.22345,
    "h": 320.4
  },
  "luminance": 0.23504
}

Semantic roles & 50–950 ramp

primary
#C752DF
secondary
#B4E2AB
accent
#EC3C5A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752DF

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

Preview Lab → · Contrast checker → · Palette generator →

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