#CE56D7#CE56D7

#CE56D7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.214 H 324.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CE56D7
RGBrgb(206, 86, 215)
HSLhsl(296, 62%, 59%)
HSVhsv(296, 60%, 84%)
CMYKcmyk(4.2%, 60%, 0%, 15.7%)
CIE-LABlab(56.77, 64.28, -44.55)
CIE-LCHlch(56.77, 78.20, 325.28°)
OKLaboklab(65.46% 0.1753 -0.1234)
OKLCHoklch(65.46% 0.214 324.8)
XYZxyz(41.0461, 24.6860, 66.8797)
Luminance0.2468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56D7 #5FD756
analogous
#8E56D7 #CE56D7 #D756A0
triadic
#CE56D7 #D7CE56 #56D7CE
tetradic
#CE56D7 #D78E56 #5FD756 #56A0D7
square
#CE56D7 #D78E56 #5FD756 #56A0D7
split-complementary
#CE56D7 #A0D756 #56D78E
monochromatic
#892290 #B82EC2 #CE56D7 #DC87E3 #EBB9EE

Accessibility & contrast

On white

3.54
#CE56D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CE56D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56D7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56D7#FFFFFF#000000##000000
##CE56D71.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDB
Deuteranopia (green-blind)
#6D8DD4
Tritanopia (blue-blind)
#D2688F
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ce56d7;
/* rgb */ color: rgb(206, 86, 215);
/* oklch */ color: oklch(65.5% 0.214 324.8);
Tailwind
colors: {
  custom: {
    50: '#e08de4',
    500: '#ce56d7',
    950: '#000000',
  },
}
SCSS
$custom: #ce56d7;
$custom-light: #e08de4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56d7",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 215
  },
  "hsl": {
    "h": 295.814,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65464,
    "c": 0.21435,
    "h": 324.8
  },
  "luminance": 0.24684
}

Semantic roles & 50–950 ramp

primary
#CE56D7
secondary
#AFDEAB
accent
#E5434E
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D15
muted
#847E84

Preview Lab

Preview with #CE56D7

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

Preview Lab → · Contrast checker → · Palette generator →

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