#C78AFA#C78AFA

#C78AFA is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.7% C 0.167 H 307.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#C78AFA
RGBrgb(199, 138, 250)
HSLhsl(273, 92%, 76%)
HSVhsv(273, 45%, 98%)
CMYKcmyk(20.4%, 44.8%, 0%, 2%)
CIE-LABlab(67.44, 43.67, -47.23)
CIE-LCHlch(67.44, 64.33, 312.76°)
OKLaboklab(73.72% 0.1026 -0.1317)
OKLCHoklch(73.72% 0.167 307.9)
XYZxyz(49.8936, 37.2218, 94.9800)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78AFA #BDFA8A
analogous
#8F8AFA #C78AFA #FA8AF5
triadic
#C78AFA #FAC78A #8AFAC7
tetradic
#C78AFA #FA8F8A #BDFA8A #8AF5FA
square
#C78AFA #FA8F8A #BDFA8A #8AF5FA
split-complementary
#C78AFA #F5FA8A #8AFA8F
monochromatic
#8F15F5 #AB4FF7 #C78AFA #E3C5FD #F1E2FE

Accessibility & contrast

On white

2.49
#C78AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#C78AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78AFA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78AFA#FFFFFF#000000##000000
##C78AFA1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#C09CB6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c78afa;
/* rgb */ color: rgb(199, 138, 250);
/* oklch */ color: oklch(73.7% 0.167 307.9);
Tailwind
colors: {
  custom: {
    50: '#daadfc',
    500: '#c78afa',
    950: '#000000',
  },
}
SCSS
$custom: #c78afa;
$custom-light: #daadfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c78afa",
  "rgb": {
    "r": 199,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 272.679,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73719,
    "c": 0.1669,
    "h": 307.9
  },
  "luminance": 0.37221
}

Semantic roles & 50–950 ramp

primary
#C78AFA
secondary
#E4F6D5
accent
#E60069
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #C78AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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