#CE52BC#CE52BC

#CE52BC is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.6% C 0.198 H 333.7°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#CE52BC
RGBrgb(206, 82, 188)
HSLhsl(309, 56%, 56%)
HSVhsv(309, 60%, 81%)
CMYKcmyk(0%, 60.2%, 8.7%, 19.2%)
CIE-LABlab(54.86, 61.46, -32.12)
CIE-LCHlch(54.86, 69.35, 332.41°)
OKLaboklab(63.65% 0.1774 -0.0876)
OKLCHoklch(63.65% 0.198 333.7)
XYZxyz(37.5481, 22.7901, 49.9885)
Luminance0.2279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52BC #52CE64
analogous
#A252CE #CE52BC #CE527E
triadic
#CE52BC #BCCE52 #52BCCE
tetradic
#CE52BC #CEA252 #52CE64 #527ECE
square
#CE52BC #CEA252 #52CE64 #527ECE
split-complementary
#CE52BC #7ECE52 #52CEA2
monochromatic
#812574 #B1329E #CE52BC #DC82CE #E9B1E1

Accessibility & contrast

On white

3.78
#CE52BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#CE52BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52BC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52BC#FFFFFF#000000##000000
##CE52BC1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#778AB9
Tritanopia (blue-blind)
#D75B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce52bc;
/* rgb */ color: rgb(206, 82, 188);
/* oklch */ color: oklch(63.6% 0.198 333.7);
Tailwind
colors: {
  custom: {
    50: '#e08ad0',
    500: '#ce52bc',
    950: '#000000',
  },
}
SCSS
$custom: #ce52bc;
$custom-light: #e08ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52bc",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 308.71,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6365,
    "c": 0.19789,
    "h": 333.7
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#CE52BC
secondary
#A4D7AC
accent
#DF5E49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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