#C78BBF#C78BBF

#C78BBF is a light, moderate purple. Relative luminance 0.344; OKLCH L 71.3% C 0.100 H 331.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C78BBF
RGBrgb(199, 139, 191)
HSLhsl(308, 35%, 66%)
HSVhsv(308, 30%, 78%)
CMYKcmyk(0%, 30.2%, 4%, 22%)
CIE-LABlab(65.26, 31.17, -17.91)
CIE-LCHlch(65.26, 35.95, 330.11°)
OKLaboklab(71.28% 0.088 -0.0482)
OKLCHoklch(71.28% 0.1 331.3)
XYZxyz(42.1891, 34.3706, 53.6920)
Luminance0.3437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C78BBF #8BC793
analogous
#B18BC7 #C78BBF #C78BA1
triadic
#C78BBF #BFC78B #8BBFC7
tetradic
#C78BBF #C7B18B #8BC793 #8BA1C7
square
#C78BBF #C7B18B #8BC793 #8BA1C7
split-complementary
#C78BBF #A1C78B #8BC7B1
monochromatic
#914687 #B362A8 #C78BBF #DBB4D6 #EFDEED

Accessibility & contrast

On white

2.67
#C78BBF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C78BBF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C78BBF
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C78BBF#FFFFFF#000000##000000
##C78BBF1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8999C1
Deuteranopia (green-blind)
#98A1BD
Tritanopia (blue-blind)
#CC8E9D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c78bbf;
/* rgb */ color: rgb(199, 139, 191);
/* oklch */ color: oklch(71.3% 0.100 331.3);
Tailwind
colors: {
  custom: {
    50: '#d9add2',
    500: '#c78bbf',
    950: '#000000',
  },
}
SCSS
$custom: #c78bbf;
$custom-light: #d9add2;
$custom-dark: #000000;
JSON
{
  "hex": "#c78bbf",
  "rgb": {
    "r": 199,
    "g": 139,
    "b": 191
  },
  "hsl": {
    "h": 308,
    "s": 34.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71276,
    "c": 0.1003,
    "h": 331.3
  },
  "luminance": 0.34369
}

Semantic roles & 50–950 ramp

primary
#C78BBF
secondary
#CDE1D0
accent
#AE4838
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #C78BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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