#C78EF8#C78EF8

#C78EF8 is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.3% C 0.158 H 307.8°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#C78EF8
RGBrgb(199, 142, 248)
HSLhsl(272, 88%, 76%)
HSVhsv(272, 43%, 97%)
CMYKcmyk(19.8%, 42.7%, 0%, 2.7%)
CIE-LABlab(68.22, 41.07, -44.92)
CIE-LCHlch(68.22, 60.87, 312.44°)
OKLaboklab(74.27% 0.0968 -0.125)
OKLCHoklch(74.27% 0.158 307.8)
XYZxyz(50.1662, 38.2660, 93.5320)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78EF8 #BFF88E
analogous
#928EF8 #C78EF8 #F88EF4
triadic
#C78EF8 #F8C78E #8EF8C7
tetradic
#C78EF8 #F8928E #BFF88E #8EF4F8
square
#C78EF8 #F8928E #BFF88E #8EF4F8
split-complementary
#C78EF8 #F4F88E #8EF892
monochromatic
#8E1BF1 #AA54F4 #C78EF8 #E4C8FC #F1E2FD

Accessibility & contrast

On white

2.43
#C78EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#C78EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78EF8
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78EF8#FFFFFF#000000##000000
##C78EF81.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#83A7F5
Tritanopia (blue-blind)
#C09FB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #c78ef8;
/* rgb */ color: rgb(199, 142, 248);
/* oklch */ color: oklch(74.3% 0.158 307.8);
Tailwind
colors: {
  custom: {
    50: '#dab0fb',
    500: '#c78ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c78ef8;
$custom-light: #dab0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c78ef8",
  "rgb": {
    "r": 199,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 272.264,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74269,
    "c": 0.15809,
    "h": 307.8
  },
  "luminance": 0.38265
}

Semantic roles & 50–950 ramp

primary
#C78EF8
secondary
#E4F5D6
accent
#E5016A
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C78EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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