#CE56EF#CE56EF

#CE56EF is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.8% C 0.236 H 318.3°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CE56EF
RGBrgb(206, 86, 239)
HSLhsl(287, 83%, 64%)
HSVhsv(287, 64%, 94%)
CMYKcmyk(13.8%, 64%, 0%, 6.3%)
CIE-LABlab(58.05, 68.67, -56.00)
CIE-LCHlch(58.05, 88.61, 320.80°)
OKLaboklab(66.8% 0.1758 -0.1567)
OKLCHoklch(66.8% 0.236 318.3)
XYZxyz(44.3592, 26.0113, 84.3287)
Luminance0.2601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56EF #77EF56
analogous
#8156EF #CE56EF #EF56C3
triadic
#CE56EF #EFCE56 #56EFCE
tetradic
#CE56EF #EF8156 #77EF56 #56C3EF
square
#CE56EF #EF8156 #77EF56 #56C3EF
split-complementary
#CE56EF #C3EF56 #56EF81
monochromatic
#9512B9 #BE1EEA #CE56EF #DE8EF4 #EEC6FA

Accessibility & contrast

On white

3.39
#CE56EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CE56EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56EF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56EF#FFFFFF#000000##000000
##CE56EF1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2184F4
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#CD719B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ce56ef;
/* rgb */ color: rgb(206, 86, 239);
/* oklch */ color: oklch(66.8% 0.236 318.3);
Tailwind
colors: {
  custom: {
    50: '#e18df5',
    500: '#ce56ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce56ef;
$custom-light: #e18df5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56ef",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 287.059,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.23553,
    "h": 318.3
  },
  "luminance": 0.26009
}

Semantic roles & 50–950 ramp

primary
#CE56EF
secondary
#C1EBB5
accent
#DF0635
background
#FEF9FF
surface
#FCF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56EF

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

Preview Lab → · Contrast checker → · Palette generator →

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