#C78EEE#C78EEE

#C78EEE is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.8% C 0.146 H 310.5°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#C78EEE
RGBrgb(199, 142, 238)
HSLhsl(276, 74%, 75%)
HSVhsv(276, 40%, 93%)
CMYKcmyk(16.4%, 40.3%, 0%, 6.7%)
CIE-LABlab(67.77, 38.90, -40.14)
CIE-LCHlch(67.77, 55.89, 314.10°)
OKLaboklab(73.79% 0.095 -0.1112)
OKLCHoklch(73.79% 0.146 310.5)
XYZxyz(48.6560, 37.6619, 85.5786)
Luminance0.3766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78EEE #B5EE8E
analogous
#978EEE #C78EEE #EE8EE5
triadic
#C78EEE #EEC78E #8EEEC7
tetradic
#C78EEE #EE978E #B5EE8E #8EE5EE
square
#C78EEE #EE978E #B5EE8E #8EE5EE
split-complementary
#C78EEE #E5EE8E #8EEE97
monochromatic
#9224DE #AD59E6 #C78EEE #E1C3F6 #F2E4FB

Accessibility & contrast

On white

2.46
#C78EEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#C78EEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78EEE
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78EEE#FFFFFF#000000##000000
##C78EEE1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F2
Deuteranopia (green-blind)
#88A6EB
Tritanopia (blue-blind)
#C39CB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c78eee;
/* rgb */ color: rgb(199, 142, 238);
/* oklch */ color: oklch(73.8% 0.146 310.5);
Tailwind
colors: {
  custom: {
    50: '#d9b0f4',
    500: '#c78eee',
    950: '#000000',
  },
}
SCSS
$custom: #c78eee;
$custom-light: #d9b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c78eee",
  "rgb": {
    "r": 199,
    "g": 142,
    "b": 238
  },
  "hsl": {
    "h": 275.625,
    "s": 73.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.14627,
    "h": 310.5
  },
  "luminance": 0.37661
}

Semantic roles & 50–950 ramp

primary
#C78EEE
secondary
#E3F3D8
accent
#D61060
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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