#CE52BB#CE52BB

#CE52BB is a light, vivid purple. Relative luminance 0.227; OKLCH L 63.6% C 0.197 H 334.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CE52BB
RGBrgb(206, 82, 187)
HSLhsl(309, 56%, 56%)
HSVhsv(309, 60%, 81%)
CMYKcmyk(0%, 60.2%, 9.2%, 19.2%)
CIE-LABlab(54.81, 61.31, -31.62)
CIE-LCHlch(54.81, 68.98, 332.72°)
OKLaboklab(63.6% 0.1773 -0.0862)
OKLCHoklch(63.6% 0.197 334.1)
XYZxyz(37.4407, 22.7471, 49.4227)
Luminance0.2274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52BB #52CE65
analogous
#A352CE #CE52BB #CE527D
triadic
#CE52BB #BBCE52 #52BBCE
tetradic
#CE52BB #CEA352 #52CE65 #527DCE
square
#CE52BB #CEA352 #52CE65 #527DCE
split-complementary
#CE52BB #7DCE52 #52CEA3
monochromatic
#812573 #B1329D #CE52BB #DC82CE #E9B1E0

Accessibility & contrast

On white

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

On black

5.55
#CE52BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52BB
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52BB#FFFFFF#000000##000000
##CE52BB1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BE
Deuteranopia (green-blind)
#778AB8
Tritanopia (blue-blind)
#D75B7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce52bb;
/* rgb */ color: rgb(206, 82, 187);
/* oklch */ color: oklch(63.6% 0.197 334.1);
Tailwind
colors: {
  custom: {
    50: '#e08acf',
    500: '#ce52bb',
    950: '#000000',
  },
}
SCSS
$custom: #ce52bb;
$custom-light: #e08acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52bb",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 309.194,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63603,
    "c": 0.19713,
    "h": 334.1
  },
  "luminance": 0.22744
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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