#CE52D5#CE52D5

#CE52D5 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.9% C 0.218 H 325.6°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CE52D5
RGBrgb(206, 82, 213)
HSLhsl(297, 61%, 58%)
HSVhsv(297, 62%, 84%)
CMYKcmyk(3.3%, 61.5%, 0%, 16.5%)
CIE-LABlab(56.05, 65.63, -44.55)
CIE-LCHlch(56.05, 79.32, 325.83°)
OKLaboklab(64.91% 0.1799 -0.1234)
OKLCHoklch(64.91% 0.218 325.6)
XYZxyz(40.4803, 23.9629, 65.4310)
Luminance0.2396 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52D5 #59D552
analogous
#8C52D5 #CE52D5 #D5529A
triadic
#CE52D5 #D5CE52 #52D5CE
tetradic
#CE52D5 #D58C52 #59D552 #529AD5
square
#CE52D5 #D58C52 #59D552 #529AD5
split-complementary
#CE52D5 #9AD552 #52D58C
monochromatic
#85228B #B52EBC #CE52D5 #DC83E1 #EAB4ED

Accessibility & contrast

On white

3.63
#CE52D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CE52D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52D5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52D5#FFFFFF#000000##000000
##CE52D51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7CD9
Deuteranopia (green-blind)
#6B8CD1
Tritanopia (blue-blind)
#D3648C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ce52d5;
/* rgb */ color: rgb(206, 82, 213);
/* oklch */ color: oklch(64.9% 0.218 325.6);
Tailwind
colors: {
  custom: {
    50: '#e08ae2',
    500: '#ce52d5',
    950: '#000000',
  },
}
SCSS
$custom: #ce52d5;
$custom-light: #e08ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52d5",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 296.794,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6491,
    "c": 0.21812,
    "h": 325.6
  },
  "luminance": 0.2396
}

Semantic roles & 50–950 ramp

primary
#CE52D5
secondary
#AADCA7
accent
#E4444C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE52D5

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

Preview Lab → · Contrast checker → · Palette generator →

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