#C78BEC#C78BEC

#C78BEC is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.149 H 311.6°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#C78BEC
RGBrgb(199, 139, 236)
HSLhsl(277, 72%, 74%)
HSVhsv(277, 41%, 93%)
CMYKcmyk(15.7%, 41.1%, 0%, 7.5%)
CIE-LABlab(67.02, 40.10, -40.21)
CIE-LCHlch(67.02, 56.78, 314.92°)
OKLaboklab(73.2% 0.0989 -0.1114)
OKLCHoklch(73.2% 0.149 311.6)
XYZxyz(47.9235, 36.6643, 83.8930)
Luminance0.3666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BEC #B0EC8B
analogous
#968BEC #C78BEC #EC8BE1
triadic
#C78BEC #ECC78B #8BECC7
tetradic
#C78BEC #EC968B #B0EC8B #8BE1EC
square
#C78BEC #EC968B #B0EC8B #8BE1EC
split-complementary
#C78BEC #E1EC8B #8BEC96
monochromatic
#9424D9 #AE56E3 #C78BEC #E0C0F5 #F2E5FB

Accessibility & contrast

On white

2.52
#C78BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#C78BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BEC
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BEC#FFFFFF#000000##000000
##C78BEC1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#87A4E9
Tritanopia (blue-blind)
#C399B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c78bec;
/* rgb */ color: rgb(199, 139, 236);
/* oklch */ color: oklch(73.2% 0.149 311.6);
Tailwind
colors: {
  custom: {
    50: '#d9aef2',
    500: '#c78bec',
    950: '#000000',
  },
}
SCSS
$custom: #c78bec;
$custom-light: #d9aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bec",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 277.113,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73197,
    "c": 0.14893,
    "h": 311.6
  },
  "luminance": 0.36663
}

Semantic roles & 50–950 ramp

primary
#C78BEC
secondary
#E2F2D9
accent
#D4125C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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