#CE78E4#CE78E4

#CE78E4 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.6% C 0.175 H 319.2°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CE78E4
RGBrgb(206, 120, 228)
HSLhsl(288, 67%, 68%)
HSVhsv(288, 47%, 89%)
CMYKcmyk(9.6%, 47.4%, 0%, 10.6%)
CIE-LABlab(63.47, 50.49, -41.29)
CIE-LCHlch(63.47, 65.22, 320.73°)
OKLaboklab(70.6% 0.1323 -0.1142)
OKLCHoklch(70.6% 0.175 319.2)
XYZxyz(46.1718, 32.1579, 77.1587)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78E4 #8EE478
analogous
#9878E4 #CE78E4 #E478C4
triadic
#CE78E4 #E4CE78 #78E4CE
tetradic
#CE78E4 #E49878 #8EE478 #78C4E4
square
#CE78E4 #E49878 #8EE478 #78C4E4
split-complementary
#CE78E4 #C4E478 #78E498
monochromatic
#9D26BC #BB45DA #CE78E4 #E1ABEE #F3DEF8

Accessibility & contrast

On white

2.83
#CE78E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CE78E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78E4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78E4#FFFFFF#000000##000000
##CE78E41.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E8
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#CF87A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ce78e4;
/* rgb */ color: rgb(206, 120, 228);
/* oklch */ color: oklch(70.6% 0.175 319.2);
Tailwind
colors: {
  custom: {
    50: '#dfa1ed',
    500: '#ce78e4',
    950: '#000000',
  },
}
SCSS
$custom: #ce78e4;
$custom-light: #dfa1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78e4",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 228
  },
  "hsl": {
    "h": 287.778,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.1748,
    "h": 319.2
  },
  "luminance": 0.32156
}

Semantic roles & 50–950 ramp

primary
#CE78E4
secondary
#D2ECCC
accent
#CF173C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE78E4

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

Preview Lab → · Contrast checker → · Palette generator →

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