#CE56F2#CE56F2

#CE56F2 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 67.0% C 0.238 H 317.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CE56F2
RGBrgb(206, 86, 242)
HSLhsl(286, 86%, 64%)
HSVhsv(286, 64%, 95%)
CMYKcmyk(14.9%, 64.5%, 0%, 5.1%)
CIE-LABlab(58.22, 69.24, -57.40)
CIE-LCHlch(58.22, 89.94, 320.34°)
OKLaboklab(66.98% 0.1757 -0.1608)
OKLCHoklch(66.98% 0.238 317.5)
XYZxyz(44.8061, 26.1900, 86.6822)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE56F2 #7AF256
analogous
#8056F2 #CE56F2 #F256C8
triadic
#CE56F2 #F2CE56 #56F2CE
tetradic
#CE56F2 #F28056 #7AF256 #56C8F2
square
#CE56F2 #F28056 #7AF256 #56C8F2
split-complementary
#CE56F2 #C8F256 #56F280
monochromatic
#960FBF #BE1DEE #CE56F2 #DE8FF6 #EFC8FB

Accessibility & contrast

On white

3.37
#CE56F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CE56F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE56F2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE56F2#FFFFFF#000000##000000
##CE56F21.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A84F7
Deuteranopia (green-blind)
#5B90EE
Tritanopia (blue-blind)
#CD729D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ce56f2;
/* rgb */ color: rgb(206, 86, 242);
/* oklch */ color: oklch(67.0% 0.238 317.5);
Tailwind
colors: {
  custom: {
    50: '#e18df7',
    500: '#ce56f2',
    950: '#000000',
  },
}
SCSS
$custom: #ce56f2;
$custom-light: #e18df7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce56f2",
  "rgb": {
    "r": 206,
    "g": 86,
    "b": 242
  },
  "hsl": {
    "h": 286.154,
    "s": 85.714,
    "l": 64.314
  },
  "oklch": {
    "l": 0.6698,
    "c": 0.23823,
    "h": 317.5
  },
  "luminance": 0.26188
}

Semantic roles & 50–950 ramp

primary
#CE56F2
secondary
#C3EDB7
accent
#E20337
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CE56F2

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

Preview Lab → · Contrast checker → · Palette generator →

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