#CE78E5#CE78E5

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

Color values

HEX#CE78E5
RGBrgb(206, 120, 229)
HSLhsl(287, 68%, 68%)
HSVhsv(287, 48%, 90%)
CMYKcmyk(10%, 47.6%, 0%, 10.2%)
CIE-LABlab(63.52, 50.69, -41.77)
CIE-LCHlch(63.52, 65.68, 320.51°)
OKLaboklab(70.65% 0.1325 -0.1156)
OKLCHoklch(70.65% 0.176 318.9)
XYZxyz(46.3111, 32.2135, 77.8919)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78E5 #8FE578
analogous
#9778E5 #CE78E5 #E578C6
triadic
#CE78E5 #E5CE78 #78E5CE
tetradic
#CE78E5 #E59778 #8FE578 #78C6E5
square
#CE78E5 #E59778 #8FE578 #78C6E5
split-complementary
#CE78E5 #C6E578 #78E597
monochromatic
#9E25BE #BB45DB #CE78E5 #E1ABEF #F3DFF9

Accessibility & contrast

On white

2.82
#CE78E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CE78E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78E5
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78E5#FFFFFF#000000##000000
##CE78E51.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6594E9
Deuteranopia (green-blind)
#7E9DE2
Tritanopia (blue-blind)
#CE87A4
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ce78e5;
/* rgb */ color: rgb(206, 120, 229);
/* oklch */ color: oklch(70.6% 0.176 318.9);
Tailwind
colors: {
  custom: {
    50: '#dfa1ed',
    500: '#ce78e5',
    950: '#000000',
  },
}
SCSS
$custom: #ce78e5;
$custom-light: #dfa1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78e5",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 229
  },
  "hsl": {
    "h": 287.339,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70646,
    "c": 0.17583,
    "h": 318.9
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#CE78E5
secondary
#D3EDCC
accent
#D0163D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE78E5

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

Preview Lab → · Contrast checker → · Palette generator →

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