#C78DEB#C78DEB

#C78DEB is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.5% C 0.144 H 311.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C78DEB
RGBrgb(199, 141, 235)
HSLhsl(277, 70%, 74%)
HSVhsv(277, 40%, 92%)
CMYKcmyk(15.3%, 40%, 0%, 7.8%)
CIE-LABlab(67.42, 38.80, -39.04)
CIE-LCHlch(67.42, 55.04, 314.82°)
OKLaboklab(73.48% 0.0959 -0.108)
OKLCHoklch(73.48% 0.144 311.6)
XYZxyz(48.0709, 37.1908, 83.2274)
Luminance0.3719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78DEB #B1EB8D
analogous
#988DEB #C78DEB #EB8DE0
triadic
#C78DEB #EBC78D #8DEBC7
tetradic
#C78DEB #EB988D #B1EB8D #8DE0EB
square
#C78DEB #EB988D #B1EB8D #8DE0EB
split-complementary
#C78DEB #E0EB8D #8DEB98
monochromatic
#9426D8 #AD59E2 #C78DEB #E1C1F4 #F2E5FA

Accessibility & contrast

On white

2.49
#C78DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C78DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78DEB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78DEB#FFFFFF#000000##000000
##C78DEB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#C39BB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c78deb;
/* rgb */ color: rgb(199, 141, 235);
/* oklch */ color: oklch(73.5% 0.144 311.6);
Tailwind
colors: {
  custom: {
    50: '#d9aff2',
    500: '#c78deb',
    950: '#000000',
  },
}
SCSS
$custom: #c78deb;
$custom-light: #d9aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c78deb",
  "rgb": {
    "r": 199,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 277.021,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73481,
    "c": 0.14442,
    "h": 311.6
  },
  "luminance": 0.3719
}

Semantic roles & 50–950 ramp

primary
#C78DEB
secondary
#E3F2D9
accent
#D2135C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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