#CE52CD#CE52CD

#CE52CD is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.5% C 0.211 H 328.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#CE52CD
RGBrgb(206, 82, 205)
HSLhsl(300, 56%, 56%)
HSVhsv(300, 60%, 81%)
CMYKcmyk(0%, 60.2%, 0.5%, 19.2%)
CIE-LABlab(55.65, 64.25, -40.63)
CIE-LCHlch(55.65, 76.02, 327.69°)
OKLaboklab(64.49% 0.1793 -0.112)
OKLCHoklch(64.49% 0.211 328)
XYZxyz(39.4898, 23.5667, 60.2146)
Luminance0.2356 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52CD #52CE53
analogous
#9152CE #CE52CD #CE528F
triadic
#CE52CD #CDCE52 #52CDCE
tetradic
#CE52CD #CE9152 #52CE53 #528FCE
square
#CE52CD #CE9152 #52CE53 #528FCE
split-complementary
#CE52CD #8FCE52 #52CE91
monochromatic
#812580 #B132B0 #CE52CD #DC82DB #E9B1E9

Accessibility & contrast

On white

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

On black

5.71
#CE52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52CD
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52CD#FFFFFF#000000##000000
##CE52CD1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD1
Deuteranopia (green-blind)
#6F8BCA
Tritanopia (blue-blind)
#D46188
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ce52cd;
/* rgb */ color: rgb(206, 82, 205);
/* oklch */ color: oklch(64.5% 0.211 328.0);
Tailwind
colors: {
  custom: {
    50: '#e08adc',
    500: '#ce52cd',
    950: '#000000',
  },
}
SCSS
$custom: #ce52cd;
$custom-light: #e08adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52cd",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 300.484,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6449,
    "c": 0.21145,
    "h": 328
  },
  "luminance": 0.23564
}

Semantic roles & 50–950 ramp

primary
#CE52CD
secondary
#A4D7A5
accent
#DF4A49
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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