#CE56EC#CE56EC

#CE56EC is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.6% C 0.233 H 319.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#CE56EC
RGBrgb(206, 86, 236)
HSLhsl(288, 80%, 63%)
HSVhsv(288, 64%, 93%)
CMYKcmyk(12.7%, 63.6%, 0%, 7.5%)
CIE-LABlab(57.88, 68.10, -54.59)
CIE-LCHlch(57.88, 87.28, 321.28°)
OKLaboklab(66.63% 0.1758 -0.1526)
OKLCHoklch(66.63% 0.233 319)
XYZxyz(43.9197, 25.8355, 82.0139)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56EC #74EC56
analogous
#8356EC #CE56EC #EC56BF
triadic
#CE56EC #ECCE56 #56ECCE
tetradic
#CE56EC #EC8356 #74EC56 #56BFEC
square
#CE56EC #EC8356 #74EC56 #56BFEC
split-complementary
#CE56EC #BFEC56 #56EC83
monochromatic
#9414B3 #BE1FE6 #CE56EC #DE8DF2 #EEC4F8

Accessibility & contrast

On white

3.41
#CE56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CE56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56EC
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56EC#FFFFFF#000000##000000
##CE56EC1.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2783F1
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#CE709A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ce56ec;
/* rgb */ color: rgb(206, 86, 236);
/* oklch */ color: oklch(66.6% 0.233 319.0);
Tailwind
colors: {
  custom: {
    50: '#e08df3',
    500: '#ce56ec',
    950: '#000000',
  },
}
SCSS
$custom: #ce56ec;
$custom-light: #e08df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56ec",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 288,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6663,
    "c": 0.23283,
    "h": 319
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#CE56EC
secondary
#BFEAB4
accent
#DC0934
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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