#CE52BA#CE52BA

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

Color values

HEX#CE52BA
RGBrgb(206, 82, 186)
HSLhsl(310, 56%, 56%)
HSVhsv(310, 60%, 81%)
CMYKcmyk(0%, 60.2%, 9.7%, 19.2%)
CIE-LABlab(54.77, 61.15, -31.11)
CIE-LCHlch(54.77, 68.61, 333.04°)
OKLaboklab(63.56% 0.1772 -0.0847)
OKLCHoklch(63.56% 0.196 334.4)
XYZxyz(37.3340, 22.7044, 48.8609)
Luminance0.2270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52BA #52CE66
analogous
#A452CE #CE52BA #CE527C
triadic
#CE52BA #BACE52 #52BACE
tetradic
#CE52BA #CEA452 #52CE66 #527CCE
square
#CE52BA #CEA452 #52CE66 #527CCE
split-complementary
#CE52BA #7CCE52 #52CEA4
monochromatic
#812572 #B1329C #CE52BA #DC82CD #E9B1E0

Accessibility & contrast

On white

3.79
#CE52BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#CE52BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52BA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52BA#FFFFFF#000000##000000
##CE52BA1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5177BD
Deuteranopia (green-blind)
#788AB7
Tritanopia (blue-blind)
#D75A7F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ce52ba;
/* rgb */ color: rgb(206, 82, 186);
/* oklch */ color: oklch(63.6% 0.196 334.4);
Tailwind
colors: {
  custom: {
    50: '#e08acf',
    500: '#ce52ba',
    950: '#000000',
  },
}
SCSS
$custom: #ce52ba;
$custom-light: #e08acf;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52ba",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 309.677,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.63556,
    "c": 0.19636,
    "h": 334.4
  },
  "luminance": 0.22702
}

Semantic roles & 50–950 ramp

primary
#CE52BA
secondary
#A4D7AD
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CE52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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