#C78BFA#C78BFA

#C78BFA is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.9% C 0.165 H 307.8°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C78BFA
RGBrgb(199, 139, 250)
HSLhsl(272, 92%, 76%)
HSVhsv(272, 44%, 98%)
CMYKcmyk(20.4%, 44.4%, 0%, 2%)
CIE-LABlab(67.66, 43.13, -46.89)
CIE-LCHlch(67.66, 63.71, 312.61°)
OKLaboklab(73.88% 0.1012 -0.1307)
OKLCHoklch(73.88% 0.165 307.8)
XYZxyz(50.0378, 37.5100, 95.0281)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BFA #BEFA8B
analogous
#908BFA #C78BFA #FA8BF6
triadic
#C78BFA #FAC78B #8BFAC7
tetradic
#C78BFA #FA908B #BEFA8B #8BF6FA
square
#C78BFA #FA908B #BEFA8B #8BF6FA
split-complementary
#C78BFA #F6FA8B #8BFA90
monochromatic
#8E16F5 #AB50F7 #C78BFA #E3C6FD #F1E2FE

Accessibility & contrast

On white

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

On black

8.50
#C78BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BFA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BFA#FFFFFF#000000##000000
##C78BFA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#C09DB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c78bfa;
/* rgb */ color: rgb(199, 139, 250);
/* oklch */ color: oklch(73.9% 0.165 307.8);
Tailwind
colors: {
  custom: {
    50: '#daaefc',
    500: '#c78bfa',
    950: '#000000',
  },
}
SCSS
$custom: #c78bfa;
$custom-light: #daaefc;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bfa",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 272.432,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.1653,
    "h": 307.8
  },
  "luminance": 0.37509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C78BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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