#C78EFE#C78EFE

#C78EFE is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.6% C 0.165 H 306.3°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#C78EFE
RGBrgb(199, 142, 254)
HSLhsl(271, 98%, 78%)
HSVhsv(271, 44%, 100%)
CMYKcmyk(21.7%, 44.1%, 0%, 0.4%)
CIE-LABlab(68.49, 42.40, -47.76)
CIE-LCHlch(68.49, 63.87, 311.60°)
OKLaboklab(74.57% 0.0977 -0.1332)
OKLCHoklch(74.57% 0.165 306.3)
XYZxyz(51.1120, 38.6443, 98.5132)
Luminance0.3864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78EFE #C5FE8E
analogous
#8F8EFE #C78EFE #FE8EFD
triadic
#C78EFE #FEC78E #8EFEC7
tetradic
#C78EFE #FE8F8E #C5FE8E #8EFDFE
square
#C78EFE #FE8F8E #C5FE8E #8EFDFE
split-complementary
#C78EFE #FDFE8E #8EFE8F
monochromatic
#8B15FD #A951FD #C78EFE #E5CBFF #F0E1FF

Accessibility & contrast

On white

2.41
#C78EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#C78EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78EFE
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78EFE#FFFFFF#000000##000000
##C78EFE1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A5FF
Deuteranopia (green-blind)
#80A7FB
Tritanopia (blue-blind)
#BFA0BA
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c78efe;
/* rgb */ color: rgb(199, 142, 254);
/* oklch */ color: oklch(74.6% 0.165 306.3);
Tailwind
colors: {
  custom: {
    50: '#dab0ff',
    500: '#c78efe',
    950: '#000000',
  },
}
SCSS
$custom: #c78efe;
$custom-light: #dab0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c78efe",
  "rgb": {
    "r": 199,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 270.536,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74567,
    "c": 0.16523,
    "h": 306.3
  },
  "luminance": 0.38644
}

Semantic roles & 50–950 ramp

primary
#C78EFE
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151018
muted
#837F86

Preview Lab

Preview with #C78EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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