#CE78DC#CE78DC

#CE78DC is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.2% C 0.167 H 321.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CE78DC
RGBrgb(206, 120, 220)
HSLhsl(292, 59%, 67%)
HSVhsv(292, 45%, 86%)
CMYKcmyk(6.4%, 45.5%, 0%, 13.7%)
CIE-LABlab(63.11, 48.94, -37.39)
CIE-LCHlch(63.11, 61.59, 322.62°)
OKLaboklab(70.21% 0.1311 -0.103)
OKLCHoklch(70.21% 0.167 321.8)
XYZxyz(45.0869, 31.7239, 71.4446)
Luminance0.3172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78DC #86DC78
analogous
#9C78DC #CE78DC #DC78B8
triadic
#CE78DC #DCCE78 #78DCCE
tetradic
#CE78DC #DC9C78 #86DC78 #78B8DC
square
#CE78DC #DC9C78 #86DC78 #78B8DC
split-complementary
#CE78DC #B8DC78 #78DC9C
monochromatic
#9B2DAD #BC47CF #CE78DC #E0A9E9 #F1D9F5

Accessibility & contrast

On white

2.86
#CE78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CE78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78DC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78DC#FFFFFF#000000##000000
##CE78DC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#839CD9
Tritanopia (blue-blind)
#D084A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ce78dc;
/* rgb */ color: rgb(206, 120, 220);
/* oklch */ color: oklch(70.2% 0.167 321.8);
Tailwind
colors: {
  custom: {
    50: '#dfa1e7',
    500: '#ce78dc',
    950: '#000000',
  },
}
SCSS
$custom: #ce78dc;
$custom-light: #dfa1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78dc",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 291.6,
    "s": 58.824,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70212,
    "c": 0.16671,
    "h": 321.8
  },
  "luminance": 0.31722
}

Semantic roles & 50–950 ramp

primary
#CE78DC
secondary
#CCE8C8
accent
#C61F36
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CE78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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