#C78BFB#C78BFB

#C78BFB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.9% C 0.166 H 307.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#C78BFB
RGBrgb(199, 139, 251)
HSLhsl(272, 93%, 76%)
HSVhsv(272, 45%, 98%)
CMYKcmyk(20.7%, 44.6%, 0%, 1.6%)
CIE-LABlab(67.70, 43.36, -47.36)
CIE-LCHlch(67.70, 64.21, 312.47°)
OKLaboklab(73.93% 0.1014 -0.1321)
OKLCHoklch(73.93% 0.166 307.5)
XYZxyz(50.1950, 37.5729, 95.8561)
Luminance0.3757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BFB #BFFB8B
analogous
#8F8BFB #C78BFB #FB8BF7
triadic
#C78BFB #FBC78B #8BFBC7
tetradic
#C78BFB #FB8F8B #BFFB8B #8BF7FB
square
#C78BFB #FB8F8B #BFFB8B #8BF7FB
split-complementary
#C78BFB #F7FB8B #8BFB8F
monochromatic
#8E15F7 #AA50F9 #C78BFB #E4C6FD #F1E1FE

Accessibility & contrast

On white

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

On black

8.51
#C78BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BFB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BFB#FFFFFF#000000##000000
##C78BFB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#7FA6F8
Tritanopia (blue-blind)
#C09DB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c78bfb;
/* rgb */ color: rgb(199, 139, 251);
/* oklch */ color: oklch(73.9% 0.166 307.5);
Tailwind
colors: {
  custom: {
    50: '#daaefd',
    500: '#c78bfb',
    950: '#000000',
  },
}
SCSS
$custom: #c78bfb;
$custom-light: #daaefd;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bfb",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 272.143,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7393,
    "c": 0.16648,
    "h": 307.5
  },
  "luminance": 0.37572
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C78BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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