#C780BD#C780BD

#C780BD is a light, moderate purple. Relative luminance 0.313; OKLCH L 69.3% C 0.118 H 331.9°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#C780BD
RGBrgb(199, 128, 189)
HSLhsl(308, 39%, 64%)
HSVhsv(308, 36%, 78%)
CMYKcmyk(0%, 35.7%, 5%, 22%)
CIE-LABlab(62.72, 36.79, -20.64)
CIE-LCHlch(62.72, 42.18, 330.71°)
OKLaboklab(69.33% 0.1043 -0.0557)
OKLCHoklch(69.33% 0.118 331.9)
XYZxyz(40.4572, 31.2564, 52.0363)
Luminance0.3125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780BD #80C78A
analogous
#AE80C7 #C780BD #C7809A
triadic
#C780BD #BDC780 #80BDC7
tetradic
#C780BD #C7AE80 #80C78A #809AC7
square
#C780BD #C7AE80 #80C78A #809AC7
split-complementary
#C780BD #9AC780 #80C7AE
monochromatic
#8E3F83 #B456A7 #C780BD #DAAAD3 #ECD5E9

Accessibility & contrast

On white

2.90
#C780BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#C780BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780BD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780BD#FFFFFF#000000##000000
##C780BD1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E92BF
Deuteranopia (green-blind)
#909BBB
Tritanopia (blue-blind)
#CD8496
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c780bd;
/* rgb */ color: rgb(199, 128, 189);
/* oklch */ color: oklch(69.3% 0.118 331.9);
Tailwind
colors: {
  custom: {
    50: '#d9a6d1',
    500: '#c780bd',
    950: '#000000',
  },
}
SCSS
$custom: #c780bd;
$custom-light: #d9a6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c780bd",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 189
  },
  "hsl": {
    "h": 308.451,
    "s": 38.798,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69331,
    "c": 0.11826,
    "h": 331.9
  },
  "luminance": 0.31255
}

Semantic roles & 50–950 ramp

primary
#C780BD
secondary
#C5DEC9
accent
#B24534
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #C780BD

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

Preview Lab → · Contrast checker → · Palette generator →

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