#CE78EB#CE78EB

#CE78EB is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.9% C 0.182 H 317.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CE78EB
RGBrgb(206, 120, 235)
HSLhsl(285, 74%, 70%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(12.3%, 48.9%, 0%, 7.8%)
CIE-LABlab(63.80, 51.89, -44.66)
CIE-LCHlch(63.80, 68.46, 319.28°)
OKLaboklab(70.94% 0.1333 -0.124)
OKLCHoklch(70.94% 0.182 317.1)
XYZxyz(47.1633, 32.5544, 82.3804)
Luminance0.3255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78EB #95EB78
analogous
#9578EB #CE78EB #EB78CE
triadic
#CE78EB #EBCE78 #78EBCE
tetradic
#CE78EB #EB9578 #95EB78 #78CEEB
square
#CE78EB #EB9578 #95EB78 #78CEEB
split-complementary
#CE78EB #CEEB78 #78EB95
monochromatic
#9F1ECB #BB43E3 #CE78EB #E1ADF3 #F5E3FB

Accessibility & contrast

On white

2.80
#CE78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CE78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78EB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78EB#FFFFFF#000000##000000
##CE78EB1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#CD89A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ce78eb;
/* rgb */ color: rgb(206, 120, 235);
/* oklch */ color: oklch(70.9% 0.182 317.1);
Tailwind
colors: {
  custom: {
    50: '#dfa1f2',
    500: '#ce78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ce78eb;
$custom-light: #dfa1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78eb",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 284.87,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70944,
    "c": 0.18202,
    "h": 317.1
  },
  "luminance": 0.32553
}

Semantic roles & 50–950 ramp

primary
#CE78EB
secondary
#D7F0CF
accent
#D60F41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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