#C780DB#C780DB

#C780DB is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.6% C 0.148 H 318.6°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#C780DB
RGBrgb(199, 128, 219)
HSLhsl(287, 56%, 68%)
HSVhsv(287, 42%, 86%)
CMYKcmyk(9.1%, 41.6%, 0%, 14.1%)
CIE-LABlab(63.91, 42.50, -35.64)
CIE-LCHlch(63.91, 55.47, 320.01°)
OKLaboklab(70.62% 0.1114 -0.0982)
OKLCHoklch(70.62% 0.148 318.6)
XYZxyz(44.0568, 32.6963, 70.9943)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C780DB #94DB80
analogous
#9980DB #C780DB #DB80C1
triadic
#C780DB #DBC780 #80DBC7
tetradic
#C780DB #DB9980 #94DB80 #80C1DB
square
#C780DB #DB9980 #94DB80 #80C1DB
split-complementary
#C780DB #C1DB80 #80DB99
monochromatic
#9332AF #B250CD #C780DB #DCB0E9 #F1DFF6

Accessibility & contrast

On white

2.79
#C780DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#C780DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C780DB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C780DB#FFFFFF#000000##000000
##C780DB1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7296DE
Deuteranopia (green-blind)
#859DD8
Tritanopia (blue-blind)
#C78CA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c780db;
/* rgb */ color: rgb(199, 128, 219);
/* oklch */ color: oklch(70.6% 0.148 318.6);
Tailwind
colors: {
  custom: {
    50: '#d9a6e6',
    500: '#c780db',
    950: '#000000',
  },
}
SCSS
$custom: #c780db;
$custom-light: #d9a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c780db",
  "rgb": {
    "r": 199,
    "g": 128,
    "b": 219
  },
  "hsl": {
    "h": 286.813,
    "s": 55.828,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70619,
    "c": 0.14847,
    "h": 318.6
  },
  "luminance": 0.32695
}

Semantic roles & 50–950 ramp

primary
#C780DB
secondary
#D4E9CD
accent
#C32246
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C780DB

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

Preview Lab → · Contrast checker → · Palette generator →

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