#C78BED#C78BED

#C78BED is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.150 H 311.3°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C78BED
RGBrgb(199, 139, 237)
HSLhsl(277, 73%, 74%)
HSVhsv(277, 41%, 93%)
CMYKcmyk(16%, 41.4%, 0%, 7.1%)
CIE-LABlab(67.07, 40.31, -40.69)
CIE-LCHlch(67.07, 57.27, 314.73°)
OKLaboklab(73.25% 0.0991 -0.1127)
OKLCHoklch(73.25% 0.15 311.3)
XYZxyz(48.0692, 36.7226, 84.6603)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BED #B1ED8B
analogous
#968BED #C78BED #ED8BE2
triadic
#C78BED #EDC78B #8BEDC7
tetradic
#C78BED #ED968B #B1ED8B #8BE2ED
square
#C78BED #ED968B #B1ED8B #8BE2ED
split-complementary
#C78BED #E2ED8B #8BED96
monochromatic
#9422DC #AD56E5 #C78BED #E1C0F5 #F2E5FB

Accessibility & contrast

On white

2.52
#C78BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#C78BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BED
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BED#FFFFFF#000000##000000
##C78BED1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#C399B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c78bed;
/* rgb */ color: rgb(199, 139, 237);
/* oklch */ color: oklch(73.2% 0.150 311.3);
Tailwind
colors: {
  custom: {
    50: '#d9aef3',
    500: '#c78bed',
    950: '#000000',
  },
}
SCSS
$custom: #c78bed;
$custom-light: #d9aef3;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bed",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 276.735,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73245,
    "c": 0.15009,
    "h": 311.3
  },
  "luminance": 0.36722
}

Semantic roles & 50–950 ramp

primary
#C78BED
secondary
#E3F3D8
accent
#D5105D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #C78BED

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

Preview Lab → · Contrast checker → · Palette generator →

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