#CE56E9#CE56E9

#CE56E9 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.5% C 0.230 H 319.8°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CE56E9
RGBrgb(206, 86, 233)
HSLhsl(289, 77%, 63%)
HSVhsv(289, 63%, 91%)
CMYKcmyk(11.6%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.72, 67.54, -53.18)
CIE-LCHlch(57.72, 85.96, 321.79°)
OKLaboklab(66.46% 0.1758 -0.1485)
OKLCHoklch(66.46% 0.23 319.8)
XYZxyz(43.4875, 25.6626, 79.7377)
Luminance0.2566 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56E9 #71E956
analogous
#8556E9 #CE56E9 #E956BA
triadic
#CE56E9 #E9CE56 #56E9CE
tetradic
#CE56E9 #E98556 #71E956 #56BAE9
square
#CE56E9 #E98556 #71E956 #56BAE9
split-complementary
#CE56E9 #BAE956 #56E985
monochromatic
#9217AE #BE20E2 #CE56E9 #DE8CF0 #EDC2F7

Accessibility & contrast

On white

3.42
#CE56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CE56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56E9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56E9#FFFFFF#000000##000000
##CE56E91.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82ED
Deuteranopia (green-blind)
#628FE5
Tritanopia (blue-blind)
#CF6F98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ce56e9;
/* rgb */ color: rgb(206, 86, 233);
/* oklch */ color: oklch(66.5% 0.230 319.8);
Tailwind
colors: {
  custom: {
    50: '#e08df1',
    500: '#ce56e9',
    950: '#000000',
  },
}
SCSS
$custom: #ce56e9;
$custom-light: #e08df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56e9",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 288.98,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.23016,
    "h": 319.8
  },
  "luminance": 0.25661
}

Semantic roles & 50–950 ramp

primary
#CE56E9
secondary
#BCE8B3
accent
#D90C32
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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