#CE52BD#CE52BD

#CE52BD is a light, vivid purple. Relative luminance 0.228; OKLCH L 63.7% C 0.199 H 333.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CE52BD
RGBrgb(206, 82, 189)
HSLhsl(308, 56%, 56%)
HSVhsv(308, 60%, 81%)
CMYKcmyk(0%, 60.2%, 8.3%, 19.2%)
CIE-LABlab(54.90, 61.62, -32.63)
CIE-LCHlch(54.90, 69.73, 332.10°)
OKLaboklab(63.7% 0.1776 -0.0891)
OKLCHoklch(63.7% 0.199 333.4)
XYZxyz(37.6563, 22.8333, 50.5582)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52BD #52CE63
analogous
#A152CE #CE52BD #CE527F
triadic
#CE52BD #BDCE52 #52BDCE
tetradic
#CE52BD #CEA152 #52CE63 #527FCE
square
#CE52BD #CEA152 #52CE63 #527FCE
split-complementary
#CE52BD #7FCE52 #52CEA1
monochromatic
#812574 #B1329F #CE52BD #DC82CF #E9B1E1

Accessibility & contrast

On white

3.77
#CE52BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CE52BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52BD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52BD#FFFFFF#000000##000000
##CE52BD1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78C0
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#D75B80
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce52bd;
/* rgb */ color: rgb(206, 82, 189);
/* oklch */ color: oklch(63.7% 0.199 333.4);
Tailwind
colors: {
  custom: {
    50: '#e08ad1',
    500: '#ce52bd',
    950: '#000000',
  },
}
SCSS
$custom: #ce52bd;
$custom-light: #e08ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52bd",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 308.226,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63698,
    "c": 0.19866,
    "h": 333.4
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#CE52BD
secondary
#A4D7AB
accent
#DF5D49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE52BD

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

Preview Lab → · Contrast checker → · Palette generator →

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