#CE56E8#CE56E8

#CE56E8 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.229 H 320.1°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CE56E8
RGBrgb(206, 86, 232)
HSLhsl(289, 76%, 62%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.2%, 62.9%, 0%, 9%)
CIE-LABlab(57.66, 67.36, -52.70)
CIE-LCHlch(57.66, 85.53, 321.96°)
OKLaboklab(66.4% 0.1758 -0.1471)
OKLCHoklch(66.4% 0.229 320.1)
XYZxyz(43.3451, 25.6056, 78.9875)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56E8 #70E856
analogous
#8556E8 #CE56E8 #E856B9
triadic
#CE56E8 #E8CE56 #56E8CE
tetradic
#CE56E8 #E88556 #70E856 #56B9E8
square
#CE56E8 #E88556 #70E856 #56B9E8
split-complementary
#CE56E8 #B9E856 #56E885
monochromatic
#9217AC #BE20E1 #CE56E8 #DE8CEF #EDC2F7

Accessibility & contrast

On white

3.43
#CE56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CE56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56E8
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56E8#FFFFFF#000000##000000
##CE56E81.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EC
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#CF6E98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ce56e8;
/* rgb */ color: rgb(206, 86, 232);
/* oklch */ color: oklch(66.4% 0.229 320.1);
Tailwind
colors: {
  custom: {
    50: '#e08df0',
    500: '#ce56e8',
    950: '#000000',
  },
}
SCSS
$custom: #ce56e8;
$custom-light: #e08df0;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56e8",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 289.315,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.664,
    "c": 0.22927,
    "h": 320.1
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

primary
#CE56E8
secondary
#BCE8B2
accent
#D80D31
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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