#CE78FE#CE78FE

#CE78FE is a light, highly saturated violet. Relative luminance 0.337; OKLCH L 71.9% C 0.202 H 312.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#CE78FE
RGBrgb(206, 120, 254)
HSLhsl(279, 99%, 73%)
HSVhsv(279, 53%, 100%)
CMYKcmyk(18.9%, 52.8%, 0%, 0.4%)
CIE-LABlab(64.73, 55.79, -53.65)
CIE-LCHlch(64.73, 77.40, 316.12°)
OKLaboklab(71.94% 0.1352 -0.1501)
OKLCHoklch(71.94% 0.202 312)
XYZxyz(50.0563, 33.7116, 97.6168)
Luminance0.3371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78FE #A8FE78
analogous
#8B78FE #CE78FE #FE78EB
triadic
#CE78FE #FECE78 #78FECE
tetradic
#CE78FE #FE8B78 #A8FE78 #78EBFE
square
#CE78FE #FE8B78 #A8FE78 #78EBFE
split-complementary
#CE78FE #EBFE78 #78FE8B
monochromatic
#A102FA #B83BFE #CE78FE #E4B5FE #F4E1FF

Accessibility & contrast

On white

2.71
#CE78FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#CE78FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78FE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78FE#FFFFFF#000000##000000
##CE78FE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C98FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce78fe;
/* rgb */ color: rgb(206, 120, 254);
/* oklch */ color: oklch(71.9% 0.202 312.0);
Tailwind
colors: {
  custom: {
    50: '#e0a2ff',
    500: '#ce78fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce78fe;
$custom-light: #e0a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78fe",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 254
  },
  "hsl": {
    "h": 278.507,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71939,
    "c": 0.20198,
    "h": 312
  },
  "luminance": 0.33711
}

Semantic roles & 50–950 ramp

primary
#CE78FE
secondary
#E1F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CE78FE

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

Preview Lab → · Contrast checker → · Palette generator →

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