#CE78FC#CE78FC

#CE78FC is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.8% C 0.200 H 312.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CE78FC
RGBrgb(206, 120, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 52%, 99%)
CMYKcmyk(18.3%, 52.4%, 0%, 1.2%)
CIE-LABlab(64.63, 55.37, -52.72)
CIE-LCHlch(64.63, 76.45, 316.41°)
OKLaboklab(71.83% 0.135 -0.1474)
OKLCHoklch(71.83% 0.2 312.5)
XYZxyz(49.7377, 33.5842, 95.9389)
Luminance0.3358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78FC #A6FC78
analogous
#8C78FC #CE78FC #FC78E8
triadic
#CE78FC #FCCE78 #78FCCE
tetradic
#CE78FC #FC8C78 #A6FC78 #78E8FC
square
#CE78FC #FC8C78 #A6FC78 #78E8FC
split-complementary
#CE78FC #E8FC78 #78FC8C
monochromatic
#A105F4 #B83CFB #CE78FC #E4B4FD #F4E1FE

Accessibility & contrast

On white

2.72
#CE78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CE78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78FC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78FC#FFFFFF#000000##000000
##CE78FC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#719FF9
Tritanopia (blue-blind)
#C98EAF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce78fc;
/* rgb */ color: rgb(206, 120, 252);
/* oklch */ color: oklch(71.8% 0.200 312.5);
Tailwind
colors: {
  custom: {
    50: '#e0a2fe',
    500: '#ce78fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce78fc;
$custom-light: #e0a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78fc",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 279.091,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71831,
    "c": 0.19986,
    "h": 312.5
  },
  "luminance": 0.33583
}

Semantic roles & 50–950 ramp

primary
#CE78FC
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CE78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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