#CE56C2#CE56C2

#CE56C2 is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.4% C 0.197 H 331.6°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#CE56C2
RGBrgb(206, 86, 194)
HSLhsl(306, 55%, 57%)
HSVhsv(306, 58%, 81%)
CMYKcmyk(0%, 58.3%, 5.8%, 19.2%)
CIE-LABlab(55.76, 60.70, -34.16)
CIE-LCHlch(55.76, 69.65, 330.63°)
OKLaboklab(64.4% 0.1732 -0.0935)
OKLCHoklch(64.4% 0.197 331.6)
XYZxyz(38.5189, 23.6751, 53.5694)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56C2 #56CE62
analogous
#9E56CE #CE56C2 #CE5686
triadic
#CE56C2 #C2CE56 #56C2CE
tetradic
#CE56C2 #CE9E56 #56CE62 #5686CE
square
#CE56C2 #CE9E56 #56CE62 #5686CE
split-complementary
#CE56C2 #86CE56 #56CE9E
monochromatic
#83267A #B334A6 #CE56C2 #DC85D3 #EAB5E4

Accessibility & contrast

On white

3.66
#CE56C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#CE56C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56C2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56C2#FFFFFF#000000##000000
##CE56C21.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#517BC5
Deuteranopia (green-blind)
#778CBF
Tritanopia (blue-blind)
#D66084
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ce56c2;
/* rgb */ color: rgb(206, 86, 194);
/* oklch */ color: oklch(64.4% 0.197 331.6);
Tailwind
colors: {
  custom: {
    50: '#e08cd5',
    500: '#ce56c2',
    950: '#000000',
  },
}
SCSS
$custom: #ce56c2;
$custom-light: #e08cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56c2",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 306,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.64401,
    "c": 0.19684,
    "h": 331.6
  },
  "luminance": 0.23672
}

Semantic roles & 50–950 ramp

primary
#CE56C2
secondary
#A8D8AC
accent
#DE5849
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160D14
muted
#847D83

Preview Lab

Preview with #CE56C2

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

Preview Lab → · Contrast checker → · Palette generator →

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