#CE78EA#CE78EA

#CE78EA is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.9% C 0.181 H 317.4°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CE78EA
RGBrgb(206, 120, 234)
HSLhsl(285, 73%, 69%)
HSVhsv(285, 49%, 92%)
CMYKcmyk(12%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.75, 51.69, -44.18)
CIE-LCHlch(63.75, 67.99, 319.48°)
OKLaboklab(70.89% 0.1332 -0.1226)
OKLCHoklch(70.89% 0.181 317.4)
XYZxyz(47.0192, 32.4968, 81.6216)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78EA #94EA78
analogous
#9578EA #CE78EA #EA78CD
triadic
#CE78EA #EACE78 #78EACE
tetradic
#CE78EA #EA9578 #94EA78 #78CDEA
square
#CE78EA #EA9578 #94EA78 #78CDEA
split-complementary
#CE78EA #CDEA78 #78EA95
monochromatic
#9F1FC8 #BB43E2 #CE78EA #E1ADF2 #F4E2FA

Accessibility & contrast

On white

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

On black

7.50
#CE78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78EA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78EA#FFFFFF#000000##000000
##CE78EA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7C9DE7
Tritanopia (blue-blind)
#CD88A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ce78ea;
/* rgb */ color: rgb(206, 120, 234);
/* oklch */ color: oklch(70.9% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#dfa1f1',
    500: '#ce78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ce78ea;
$custom-light: #dfa1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78ea",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 285.263,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70894,
    "c": 0.18098,
    "h": 317.4
  },
  "luminance": 0.32495
}

Semantic roles & 50–950 ramp

primary
#CE78EA
secondary
#D7EFCE
accent
#D51041
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CE78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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