#C78FF8#C78FF8

#C78FF8 is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.156 H 307.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#C78FF8
RGBrgb(199, 143, 248)
HSLhsl(272, 88%, 77%)
HSVhsv(272, 42%, 97%)
CMYKcmyk(19.8%, 42.3%, 0%, 2.7%)
CIE-LABlab(68.43, 40.53, -44.58)
CIE-LCHlch(68.43, 60.25, 312.28°)
OKLaboklab(74.43% 0.0954 -0.124)
OKLCHoklch(74.43% 0.156 307.6)
XYZxyz(50.3156, 38.5649, 93.5818)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78FF8 #C0F88F
analogous
#938FF8 #C78FF8 #F88FF4
triadic
#C78FF8 #F8C78F #8FF8C7
tetradic
#C78FF8 #F8938F #C0F88F #8FF4F8
square
#C78FF8 #F8938F #C0F88F #8FF4F8
split-complementary
#C78FF8 #F4F88F #8FF893
monochromatic
#8D1CF1 #AA55F4 #C78FF8 #E4C9FC #F1E2FD

Accessibility & contrast

On white

2.41
#C78FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#C78FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78FF8
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78FF8#FFFFFF#000000##000000
##C78FF81.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#84A8F5
Tritanopia (blue-blind)
#C0A0B8
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #c78ff8;
/* rgb */ color: rgb(199, 143, 248);
/* oklch */ color: oklch(74.4% 0.156 307.6);
Tailwind
colors: {
  custom: {
    50: '#dab1fb',
    500: '#c78ff8',
    950: '#000000',
  },
}
SCSS
$custom: #c78ff8;
$custom-light: #dab1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c78ff8",
  "rgb": {
    "r": 199,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 272,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74433,
    "c": 0.15647,
    "h": 307.6
  },
  "luminance": 0.38564
}

Semantic roles & 50–950 ramp

primary
#C78FF8
secondary
#E4F5D6
accent
#E5016B
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #C78FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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