#CE52E9#CE52E9

#CE52E9 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.0% C 0.235 H 320.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CE52E9
RGBrgb(206, 82, 233)
HSLhsl(289, 77%, 62%)
HSVhsv(289, 65%, 91%)
CMYKcmyk(11.6%, 64.8%, 0%, 8.6%)
CIE-LABlab(57.12, 69.21, -54.13)
CIE-LCHlch(57.12, 87.86, 321.97°)
OKLaboklab(66.02% 0.1803 -0.1513)
OKLCHoklch(66.02% 0.235 320)
XYZxyz(43.1771, 25.0416, 79.6342)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52E9 #6DE952
analogous
#8352E9 #CE52E9 #E952B8
triadic
#CE52E9 #E9CE52 #52E9CE
tetradic
#CE52E9 #E98352 #6DE952 #52B8E9
square
#CE52E9 #E98352 #6DE952 #52B8E9
split-complementary
#CE52E9 #B8E952 #52E983
monochromatic
#9016AB #BE1DE1 #CE52E9 #DD88F0 #EDBFF7

Accessibility & contrast

On white

3.50
#CE52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CE52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52E9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52E9#FFFFFF#000000##000000
##CE52E91.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2281ED
Deuteranopia (green-blind)
#5F8DE5
Tritanopia (blue-blind)
#CF6C97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ce52e9;
/* rgb */ color: rgb(206, 82, 233);
/* oklch */ color: oklch(66.0% 0.235 320.0);
Tailwind
colors: {
  custom: {
    50: '#e18bf1',
    500: '#ce52e9',
    950: '#000000',
  },
}
SCSS
$custom: #ce52e9;
$custom-light: #e18bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52e9",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 289.272,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.23533,
    "h": 320
  },
  "luminance": 0.2504
}

Semantic roles & 50–950 ramp

primary
#CE52E9
secondary
#B9E7AF
accent
#DA0C31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160D17
muted
#847D85

Preview Lab

Preview with #CE52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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