#CE56ED#CE56ED

#CE56ED is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.7% C 0.234 H 318.8°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CE56ED
RGBrgb(206, 86, 237)
HSLhsl(288, 81%, 63%)
HSVhsv(288, 64%, 93%)
CMYKcmyk(13.1%, 63.7%, 0%, 7.1%)
CIE-LABlab(57.94, 68.29, -55.06)
CIE-LCHlch(57.94, 87.72, 321.12°)
OKLaboklab(66.69% 0.1758 -0.154)
OKLCHoklch(66.69% 0.234 318.8)
XYZxyz(44.0654, 25.8938, 82.7812)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56ED #75ED56
analogous
#8256ED #CE56ED #ED56C0
triadic
#CE56ED #EDCE56 #56EDCE
tetradic
#CE56ED #ED8256 #75ED56 #56C0ED
square
#CE56ED #ED8256 #75ED56 #56C0ED
split-complementary
#CE56ED #C0ED56 #56ED82
monochromatic
#9413B5 #BE1FE7 #CE56ED #DE8DF3 #EEC5F9

Accessibility & contrast

On white

3.40
#CE56ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CE56ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56ED
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56ED#FFFFFF#000000##000000
##CE56ED1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F2
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#CE709A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ce56ed;
/* rgb */ color: rgb(206, 86, 237);
/* oklch */ color: oklch(66.7% 0.234 318.8);
Tailwind
colors: {
  custom: {
    50: '#e18df3',
    500: '#ce56ed',
    950: '#000000',
  },
}
SCSS
$custom: #ce56ed;
$custom-light: #e18df3;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56ed",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 237
  },
  "hsl": {
    "h": 287.682,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66687,
    "c": 0.23373,
    "h": 318.8
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#CE56ED
secondary
#C0EAB4
accent
#DD0834
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56ED

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

Preview Lab → · Contrast checker → · Palette generator →

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