#CE52C7#CE52C7

#CE52C7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.2% C 0.207 H 329.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#CE52C7
RGBrgb(206, 82, 199)
HSLhsl(303, 56%, 56%)
HSVhsv(303, 60%, 81%)
CMYKcmyk(0%, 60.2%, 3.4%, 19.2%)
CIE-LABlab(55.36, 63.25, -37.65)
CIE-LCHlch(55.36, 73.61, 329.23°)
OKLaboklab(64.19% 0.1788 -0.1035)
OKLCHoklch(64.19% 0.207 329.9)
XYZxyz(38.7794, 23.2826, 56.4732)
Luminance0.2328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52C7 #52CE59
analogous
#9752CE #CE52C7 #CE5289
triadic
#CE52C7 #C7CE52 #52C7CE
tetradic
#CE52C7 #CE9752 #52CE59 #5289CE
square
#CE52C7 #CE9752 #52CE59 #5289CE
split-complementary
#CE52C7 #89CE52 #52CE97
monochromatic
#81257C #B132AA #CE52C7 #DC82D6 #E9B1E6

Accessibility & contrast

On white

3.71
#CE52C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#CE52C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52C7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52C7#FFFFFF#000000##000000
##CE52C71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACB
Deuteranopia (green-blind)
#728BC4
Tritanopia (blue-blind)
#D55F85
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ce52c7;
/* rgb */ color: rgb(206, 82, 199);
/* oklch */ color: oklch(64.2% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#e08ad8',
    500: '#ce52c7',
    950: '#000000',
  },
}
SCSS
$custom: #ce52c7;
$custom-light: #e08ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52c7",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 303.387,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64186,
    "c": 0.20656,
    "h": 329.9
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#CE52C7
secondary
#A4D7A7
accent
#DF5149
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CE52C7

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

Preview Lab → · Contrast checker → · Palette generator →

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