#CE52DB#CE52DB

#CE52DB is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.2% C 0.223 H 323.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#CE52DB
RGBrgb(206, 82, 219)
HSLhsl(294, 66%, 59%)
HSVhsv(294, 63%, 86%)
CMYKcmyk(5.9%, 62.6%, 0%, 14.1%)
CIE-LABlab(56.36, 66.68, -47.46)
CIE-LCHlch(56.36, 81.84, 324.56°)
OKLaboklab(65.24% 0.1801 -0.1318)
OKLCHoklch(65.24% 0.223 323.8)
XYZxyz(41.2559, 24.2732, 69.5162)
Luminance0.2427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52DB #5FDB52
analogous
#8A52DB #CE52DB #DB52A3
triadic
#CE52DB #DBCE52 #52DBCE
tetradic
#CE52DB #DB8A52 #5FDB52 #52A3DB
square
#CE52DB #DB8A52 #5FDB52 #52A3DB
split-complementary
#CE52DB #A3DB52 #52DB8A
monochromatic
#891F94 #B829C6 #CE52DB #DC85E6 #EBB7F0

Accessibility & contrast

On white

3.59
#CE52DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#CE52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52DB
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52DB#FFFFFF#000000##000000
##CE52DB1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#688CD7
Tritanopia (blue-blind)
#D2678F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ce52db;
/* rgb */ color: rgb(206, 82, 219);
/* oklch */ color: oklch(65.2% 0.223 323.8);
Tailwind
colors: {
  custom: {
    50: '#e08be7',
    500: '#ce52db',
    950: '#000000',
  },
}
SCSS
$custom: #ce52db;
$custom-light: #e08be7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52db",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 294.307,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65235,
    "c": 0.22321,
    "h": 323.8
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#CE52DB
secondary
#AFDFAA
accent
#E93F4F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CE52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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