#C781DA#C781DA

#C781DA is a light, vivid purple. Relative luminance 0.329; OKLCH L 70.7% C 0.146 H 318.9°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#C781DA
RGBrgb(199, 129, 218)
HSLhsl(287, 55%, 68%)
HSVhsv(287, 41%, 85%)
CMYKcmyk(8.7%, 40.8%, 0%, 14.5%)
CIE-LABlab(64.08, 41.76, -34.82)
CIE-LCHlch(64.08, 54.38, 320.18°)
OKLaboklab(70.73% 0.1097 -0.0958)
OKLCHoklch(70.73% 0.146 318.9)
XYZxyz(44.0566, 32.9059, 70.3468)
Luminance0.3291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C781DA #94DA81
analogous
#9A81DA #C781DA #DA81C0
triadic
#C781DA #DAC781 #81DAC7
tetradic
#C781DA #DA9A81 #94DA81 #81C0DA
square
#C781DA #DA9A81 #94DA81 #81C0DA
split-complementary
#C781DA #C0DA81 #81DA9A
monochromatic
#9333AE #B252CC #C781DA #DCB0E8 #F1E0F6

Accessibility & contrast

On white

2.77
#C781DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#C781DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C781DA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C781DA#FFFFFF#000000##000000
##C781DA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7497DD
Deuteranopia (green-blind)
#869ED7
Tritanopia (blue-blind)
#C88CA3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c781da;
/* rgb */ color: rgb(199, 129, 218);
/* oklch */ color: oklch(70.7% 0.146 318.9);
Tailwind
colors: {
  custom: {
    50: '#d9a7e5',
    500: '#c781da',
    950: '#000000',
  },
}
SCSS
$custom: #c781da;
$custom-light: #d9a7e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c781da",
  "rgb": {
    "r": 199,
    "g": 129,
    "b": 218
  },
  "hsl": {
    "h": 287.191,
    "s": 54.601,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70733,
    "c": 0.14569,
    "h": 318.9
  },
  "luminance": 0.32905
}

Semantic roles & 50–950 ramp

primary
#C781DA
secondary
#D4E9CE
accent
#C22345
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #C781DA

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

Preview Lab → · Contrast checker → · Palette generator →

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