#CE52E5#CE52E5

#CE52E5 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.8% C 0.232 H 321.0°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CE52E5
RGBrgb(206, 82, 229)
HSLhsl(291, 74%, 61%)
HSVhsv(291, 64%, 90%)
CMYKcmyk(10%, 64.2%, 0%, 10.2%)
CIE-LABlab(56.90, 68.47, -52.24)
CIE-LCHlch(56.90, 86.13, 322.66°)
OKLaboklab(65.79% 0.1803 -0.1457)
OKLCHoklch(65.79% 0.232 321)
XYZxyz(42.6121, 24.8157, 76.6589)
Luminance0.2481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52E5 #69E552
analogous
#8452E5 #CE52E5 #E552B2
triadic
#CE52E5 #E5CE52 #52E5CE
tetradic
#CE52E5 #E58452 #69E552 #52B2E5
square
#CE52E5 #E58452 #69E552 #52B2E5
split-complementary
#CE52E5 #B2E552 #52E584
monochromatic
#8E19A4 #BC21D9 #CE52E5 #DD87ED #ECBCF5

Accessibility & contrast

On white

3.52
#CE52E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CE52E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52E5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52E5#FFFFFF#000000##000000
##CE52E51.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#618DE1
Tritanopia (blue-blind)
#D06B95
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ce52e5;
/* rgb */ color: rgb(206, 82, 229);
/* oklch */ color: oklch(65.8% 0.232 321.0);
Tailwind
colors: {
  custom: {
    50: '#e08bee',
    500: '#ce52e5',
    950: '#000000',
  },
}
SCSS
$custom: #ce52e5;
$custom-light: #e08bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52e5",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 290.612,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.23184,
    "h": 321
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#CE52E5
secondary
#B6E5AE
accent
#D6102F
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #CE52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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