#CE78EE#CE78EE

#CE78EE is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.1% C 0.185 H 316.2°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CE78EE
RGBrgb(206, 120, 238)
HSLhsl(284, 78%, 70%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.4%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.94, 52.49, -46.10)
CIE-LCHlch(63.94, 69.86, 318.71°)
OKLaboklab(71.1% 0.1336 -0.1281)
OKLCHoklch(71.1% 0.185 316.2)
XYZxyz(47.6004, 32.7293, 84.6823)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78EE #98EE78
analogous
#9378EE #CE78EE #EE78D3
triadic
#CE78EE #EECE78 #78EECE
tetradic
#CE78EE #EE9378 #98EE78 #78D3EE
square
#CE78EE #EE9378 #98EE78 #78D3EE
split-complementary
#CE78EE #D3EE78 #78EE93
monochromatic
#A01AD1 #BA42E7 #CE78EE #E2AEF5 #F5E4FC

Accessibility & contrast

On white

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

On black

7.55
#CE78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78EE
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78EE#FFFFFF#000000##000000
##CE78EE1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#CD8AA8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce78ee;
/* rgb */ color: rgb(206, 120, 238);
/* oklch */ color: oklch(71.1% 0.185 316.2);
Tailwind
colors: {
  custom: {
    50: '#dfa2f4',
    500: '#ce78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ce78ee;
$custom-light: #dfa2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78ee",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 283.729,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71097,
    "c": 0.18513,
    "h": 316.2
  },
  "luminance": 0.32728
}

Semantic roles & 50–950 ramp

primary
#CE78EE
secondary
#D9F1D1
accent
#DA0C44
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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