#C78EFB#C78EFB

#C78EFB is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.4% C 0.162 H 307.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#C78EFB
RGBrgb(199, 142, 251)
HSLhsl(271, 93%, 77%)
HSVhsv(271, 43%, 98%)
CMYKcmyk(20.7%, 43.4%, 0%, 1.6%)
CIE-LABlab(68.35, 41.74, -46.34)
CIE-LCHlch(68.35, 62.37, 312.01°)
OKLaboklab(74.42% 0.0973 -0.1291)
OKLCHoklch(74.42% 0.162 307)
XYZxyz(50.6353, 38.4536, 96.0029)
Luminance0.3845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78EFB #C2FB8E
analogous
#918EFB #C78EFB #FB8EF9
triadic
#C78EFB #FBC78E #8EFBC7
tetradic
#C78EFB #FB918E #C2FB8E #8EF9FB
square
#C78EFB #FB918E #C2FB8E #8EF9FB
split-complementary
#C78EFB #F9FB8E #8EFB91
monochromatic
#8C18F7 #AA53F9 #C78EFB #E4C9FD #F0E1FE

Accessibility & contrast

On white

2.42
#C78EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#C78EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78EFB
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78EFB#FFFFFF#000000##000000
##C78EFB1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#BFA0B9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c78efb;
/* rgb */ color: rgb(199, 142, 251);
/* oklch */ color: oklch(74.4% 0.162 307.0);
Tailwind
colors: {
  custom: {
    50: '#dab0fd',
    500: '#c78efb',
    950: '#000000',
  },
}
SCSS
$custom: #c78efb;
$custom-light: #dab0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#c78efb",
  "rgb": {
    "r": 199,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 271.376,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74417,
    "c": 0.16166,
    "h": 307
  },
  "luminance": 0.38453
}

Semantic roles & 50–950 ramp

primary
#C78EFB
secondary
#E5F6D5
accent
#E6006D
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #C78EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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