#C78EEA#C78EEA

#C78EEA is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.6% C 0.142 H 311.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#C78EEA
RGBrgb(199, 142, 234)
HSLhsl(277, 69%, 74%)
HSVhsv(277, 39%, 92%)
CMYKcmyk(15%, 39.3%, 0%, 8.2%)
CIE-LABlab(67.60, 38.04, -38.21)
CIE-LCHlch(67.60, 53.92, 314.87°)
OKLaboklab(73.6% 0.0943 -0.1056)
OKLCHoklch(73.6% 0.142 311.7)
XYZxyz(48.0749, 37.4294, 82.5180)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78EEA #B1EA8E
analogous
#998EEA #C78EEA #EA8EDF
triadic
#C78EEA #EAC78E #8EEAC7
tetradic
#C78EEA #EA998E #B1EA8E #8EDFEA
square
#C78EEA #EA998E #B1EA8E #8EDFEA
split-complementary
#C78EEA #DFEA8E #8EEA99
monochromatic
#9428D6 #AD5AE0 #C78EEA #E1C2F4 #F2E5FA

Accessibility & contrast

On white

2.47
#C78EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#C78EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78EEA
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78EEA#FFFFFF#000000##000000
##C78EEA1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2ED
Deuteranopia (green-blind)
#8AA6E7
Tritanopia (blue-blind)
#C49BB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c78eea;
/* rgb */ color: rgb(199, 142, 234);
/* oklch */ color: oklch(73.6% 0.142 311.7);
Tailwind
colors: {
  custom: {
    50: '#d9b0f1',
    500: '#c78eea',
    950: '#000000',
  },
}
SCSS
$custom: #c78eea;
$custom-light: #d9b0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c78eea",
  "rgb": {
    "r": 199,
    "g": 142,
    "b": 234
  },
  "hsl": {
    "h": 277.174,
    "s": 68.657,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73601,
    "c": 0.14158,
    "h": 311.7
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#C78EEA
secondary
#E3F2D9
accent
#D1155C
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #C78EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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