#CE52D4#CE52D4

#CE52D4 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.9% C 0.217 H 325.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#CE52D4
RGBrgb(206, 82, 212)
HSLhsl(297, 60%, 58%)
HSVhsv(297, 61%, 83%)
CMYKcmyk(2.8%, 61.3%, 0%, 16.9%)
CIE-LABlab(56.00, 65.45, -44.06)
CIE-LCHlch(56.00, 78.90, 326.05°)
OKLaboklab(64.86% 0.1798 -0.122)
OKLCHoklch(64.86% 0.217 325.8)
XYZxyz(40.3537, 23.9123, 64.7646)
Luminance0.2391 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52D4 #58D452
analogous
#8D52D4 #CE52D4 #D45299
triadic
#CE52D4 #D4CE52 #52D4CE
tetradic
#CE52D4 #D48D52 #58D452 #5299D4
square
#CE52D4 #D48D52 #58D452 #5299D4
split-complementary
#CE52D4 #99D452 #52D48D
monochromatic
#852289 #B42EBA #CE52D4 #DC83E0 #EAB4EC

Accessibility & contrast

On white

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

On black

5.78
#CE52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52D4
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52D4#FFFFFF#000000##000000
##CE52D41.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce52d4;
/* rgb */ color: rgb(206, 82, 212);
/* oklch */ color: oklch(64.9% 0.217 325.8);
Tailwind
colors: {
  custom: {
    50: '#e08ae2',
    500: '#ce52d4',
    950: '#000000',
  },
}
SCSS
$custom: #ce52d4;
$custom-light: #e08ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52d4",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 297.231,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.21727,
    "h": 325.8
  },
  "luminance": 0.2391
}

Semantic roles & 50–950 ramp

primary
#CE52D4
secondary
#A9DBA7
accent
#E3444C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CE52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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