#C78BEE#C78BEE

#C78BEE is a light, vivid violet. Relative luminance 0.368; OKLCH L 73.3% C 0.151 H 311.0°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#C78BEE
RGBrgb(199, 139, 238)
HSLhsl(276, 74%, 74%)
HSVhsv(276, 42%, 93%)
CMYKcmyk(16.4%, 41.6%, 0%, 6.7%)
CIE-LABlab(67.11, 40.52, -41.17)
CIE-LCHlch(67.11, 57.77, 314.55°)
OKLaboklab(73.29% 0.0993 -0.1141)
OKLCHoklch(73.29% 0.151 311)
XYZxyz(48.2157, 36.7812, 85.4318)
Luminance0.3678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BEE #B2EE8B
analogous
#968BEE #C78BEE #EE8BE3
triadic
#C78BEE #EEC78B #8BEEC7
tetradic
#C78BEE #EE968B #B2EE8B #8BE3EE
square
#C78BEE #EE968B #B2EE8B #8BE3EE
split-complementary
#C78BEE #E3EE8B #8BEE96
monochromatic
#9321DE #AD56E6 #C78BEE #E1C0F6 #F2E4FB

Accessibility & contrast

On white

2.51
#C78BEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#C78BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BEE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BEE#FFFFFF#000000##000000
##C78BEE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F2
Deuteranopia (green-blind)
#86A5EB
Tritanopia (blue-blind)
#C39AB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c78bee;
/* rgb */ color: rgb(199, 139, 238);
/* oklch */ color: oklch(73.3% 0.151 311.0);
Tailwind
colors: {
  custom: {
    50: '#d9aef4',
    500: '#c78bee',
    950: '#000000',
  },
}
SCSS
$custom: #c78bee;
$custom-light: #d9aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bee",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 238
  },
  "hsl": {
    "h": 276.364,
    "s": 74.436,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.15126,
    "h": 311
  },
  "luminance": 0.3678
}

Semantic roles & 50–950 ramp

primary
#C78BEE
secondary
#E3F3D8
accent
#D70F5E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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