#CE52F1#CE52F1

#CE52F1 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.242 H 318.0°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CE52F1
RGBrgb(206, 82, 241)
HSLhsl(287, 85%, 63%)
HSVhsv(287, 66%, 95%)
CMYKcmyk(14.5%, 66%, 0%, 5.5%)
CIE-LABlab(57.57, 70.70, -57.88)
CIE-LCHlch(57.57, 91.37, 320.69°)
OKLaboklab(66.5% 0.1801 -0.1622)
OKLCHoklch(66.5% 0.242 318)
XYZxyz(44.3459, 25.5092, 85.7899)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE52F1 #75F152
analogous
#7E52F1 #CE52F1 #F152C5
triadic
#CE52F1 #F1CE52 #52F1CE
tetradic
#CE52F1 #F17E52 #75F152 #52C5F1
square
#CE52F1 #F17E52 #75F152 #52C5F1
split-complementary
#CE52F1 #C5F152 #52F17E
monochromatic
#940FBA #BE19EC #CE52F1 #DE8BF6 #EEC3FA

Accessibility & contrast

On white

3.44
#CE52F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CE52F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE52F1
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE52F1#FFFFFF#000000##000000
##CE52F11.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0982F6
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#CD6F9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ce52f1;
/* rgb */ color: rgb(206, 82, 241);
/* oklch */ color: oklch(66.5% 0.242 318.0);
Tailwind
colors: {
  custom: {
    50: '#e18bf6',
    500: '#ce52f1',
    950: '#000000',
  },
}
SCSS
$custom: #ce52f1;
$custom-light: #e18bf6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce52f1",
  "rgb": {
    "r": 206,
    "g": 82,
    "b": 241
  },
  "hsl": {
    "h": 286.792,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.24237,
    "h": 318
  },
  "luminance": 0.25507
}

Semantic roles & 50–950 ramp

primary
#CE52F1
secondary
#C0ECB3
accent
#E20435
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE52F1

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

Preview Lab → · Contrast checker → · Palette generator →

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