#CE78EC#CE78EC

#CE78EC is a light, vivid purple. Relative luminance 0.326; OKLCH L 71.0% C 0.183 H 316.8°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#CE78EC
RGBrgb(206, 120, 236)
HSLhsl(284, 75%, 70%)
HSVhsv(284, 49%, 93%)
CMYKcmyk(12.7%, 49.2%, 0%, 7.5%)
CIE-LABlab(63.85, 52.09, -45.14)
CIE-LCHlch(63.85, 68.92, 319.09°)
OKLaboklab(70.99% 0.1334 -0.1253)
OKLCHoklch(70.99% 0.183 316.8)
XYZxyz(47.3082, 32.6124, 83.1434)
Luminance0.3261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78EC #96EC78
analogous
#9478EC #CE78EC #EC78D0
triadic
#CE78EC #ECCE78 #78ECCE
tetradic
#CE78EC #EC9478 #96EC78 #78D0EC
square
#CE78EC #EC9478 #96EC78 #78D0EC
split-complementary
#CE78EC #D0EC78 #78EC94
monochromatic
#9F1DCD #BB42E4 #CE78EC #E1AEF4 #F5E3FB

Accessibility & contrast

On white

2.79
#CE78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#CE78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78EC
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78EC#FFFFFF#000000##000000
##CE78EC1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7B9DE9
Tritanopia (blue-blind)
#CD89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce78ec;
/* rgb */ color: rgb(206, 120, 236);
/* oklch */ color: oklch(71.0% 0.183 316.8);
Tailwind
colors: {
  custom: {
    50: '#dfa1f2',
    500: '#ce78ec',
    950: '#000000',
  },
}
SCSS
$custom: #ce78ec;
$custom-light: #dfa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78ec",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 284.483,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70995,
    "c": 0.18305,
    "h": 316.8
  },
  "luminance": 0.32611
}

Semantic roles & 50–950 ramp

primary
#CE78EC
secondary
#D8F0D0
accent
#D70E42
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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