#C78FDB#C78FDB

#C78FDB is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.1% C 0.123 H 316.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#C78FDB
RGBrgb(199, 143, 219)
HSLhsl(284, 51%, 71%)
HSVhsv(284, 35%, 86%)
CMYKcmyk(9.1%, 34.7%, 0%, 14.1%)
CIE-LABlab(67.20, 34.38, -30.54)
CIE-LCHlch(67.20, 45.99, 318.38°)
OKLaboklab(73.1% 0.0895 -0.0837)
OKLCHoklch(73.1% 0.123 316.9)
XYZxyz(46.1600, 36.9026, 71.6954)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78FDB #A3DB8F
analogous
#A18FDB #C78FDB #DB8FC9
triadic
#C78FDB #DBC78F #8FDBC7
tetradic
#C78FDB #DBA18F #A3DB8F #8FC9DB
square
#C78FDB #DBA18F #A3DB8F #8FC9DB
split-complementary
#C78FDB #C9DB8F #8FDBA1
monochromatic
#953AB5 #B061CC #C78FDB #DEBDEA #F3E8F8

Accessibility & contrast

On white

2.51
#C78FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#C78FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78FDB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78FDB#FFFFFF#000000##000000
##C78FDB1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#91A5D9
Tritanopia (blue-blind)
#C798AB
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c78fdb;
/* rgb */ color: rgb(199, 143, 219);
/* oklch */ color: oklch(73.1% 0.123 316.9);
Tailwind
colors: {
  custom: {
    50: '#d9b0e6',
    500: '#c78fdb',
    950: '#000000',
  },
}
SCSS
$custom: #c78fdb;
$custom-light: #d9b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c78fdb",
  "rgb": {
    "r": 199,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 284.211,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.731,
    "c": 0.12256,
    "h": 316.9
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

primary
#C78FDB
secondary
#DEEDD9
accent
#BF274F
background
#FDFAFE
surface
#FAF5FC
border
#D3CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #C78FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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