#CE78EF#CE78EF

#CE78EF is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.1% C 0.186 H 315.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CE78EF
RGBrgb(206, 120, 239)
HSLhsl(283, 79%, 70%)
HSVhsv(283, 50%, 94%)
CMYKcmyk(13.8%, 49.8%, 0%, 6.3%)
CIE-LABlab(63.99, 52.69, -46.57)
CIE-LCHlch(63.99, 70.32, 318.53°)
OKLaboklab(71.15% 0.1338 -0.1295)
OKLCHoklch(71.15% 0.186 315.9)
XYZxyz(47.7477, 32.7882, 85.4582)
Luminance0.3279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78EF #99EF78
analogous
#9278EF #CE78EF #EF78D5
triadic
#CE78EF #EFCE78 #78EFCE
tetradic
#CE78EF #EF9278 #99EF78 #78D5EF
square
#CE78EF #EF9278 #99EF78 #78D5EF
split-complementary
#CE78EF #D5EF78 #78EF92
monochromatic
#A019D4 #BA41E9 #CE78EF #E2AFF5 #F5E4FC

Accessibility & contrast

On white

2.78
#CE78EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CE78EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78EF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78EF#FFFFFF#000000##000000
##CE78EF1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#799EEC
Tritanopia (blue-blind)
#CC8AA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce78ef;
/* rgb */ color: rgb(206, 120, 239);
/* oklch */ color: oklch(71.1% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#dfa2f5',
    500: '#ce78ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce78ef;
$custom-light: #dfa2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78ef",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 283.361,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71148,
    "c": 0.18618,
    "h": 315.9
  },
  "luminance": 0.32787
}

Semantic roles & 50–950 ramp

primary
#CE78EF
secondary
#DAF2D1
accent
#DB0A44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE78EF

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

Preview Lab → · Contrast checker → · Palette generator →

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