#CE52E1#CE52E1

#CE52E1 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.6% C 0.228 H 322.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CE52E1
RGBrgb(206, 82, 225)
HSLhsl(292, 70%, 60%)
HSVhsv(292, 64%, 88%)
CMYKcmyk(8.4%, 63.6%, 0%, 11.8%)
CIE-LABlab(56.68, 67.75, -50.34)
CIE-LCHlch(56.68, 84.40, 323.39°)
OKLaboklab(65.57% 0.1803 -0.1402)
OKLCHoklch(65.57% 0.228 322.1)
XYZxyz(42.0601, 24.5949, 73.7514)
Luminance0.2459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52E1 #65E152
analogous
#8652E1 #CE52E1 #E152AC
triadic
#CE52E1 #E1CE52 #52E1CE
tetradic
#CE52E1 #E18652 #65E152 #52ACE1
square
#CE52E1 #E18652 #65E152 #52ACE1
split-complementary
#CE52E1 #ACE152 #52E186
monochromatic
#8C1B9D #BA24D1 #CE52E1 #DD86EA #ECBAF3

Accessibility & contrast

On white

3.55
#CE52E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CE52E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52E1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52E1#FFFFFF#000000##000000
##CE52E11.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7FE5
Deuteranopia (green-blind)
#648DDD
Tritanopia (blue-blind)
#D06993
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ce52e1;
/* rgb */ color: rgb(206, 82, 225);
/* oklch */ color: oklch(65.6% 0.228 322.1);
Tailwind
colors: {
  custom: {
    50: '#e08beb',
    500: '#ce52e1',
    950: '#000000',
  },
}
SCSS
$custom: #ce52e1;
$custom-light: #e08beb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52e1",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 292.028,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65568,
    "c": 0.22836,
    "h": 322.1
  },
  "luminance": 0.24593
}

Semantic roles & 50–950 ramp

primary
#CE52E1
secondary
#B3E3AC
accent
#D2132C
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CE52E1

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

Preview Lab → · Contrast checker → · Palette generator →

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