#C786DA#C786DA

#C786DA is a light, vivid purple. Relative luminance 0.343; OKLCH L 71.5% C 0.137 H 318.4°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#C786DA
RGBrgb(199, 134, 218)
HSLhsl(286, 53%, 69%)
HSVhsv(286, 39%, 85%)
CMYKcmyk(8.7%, 38.5%, 0%, 14.5%)
CIE-LABlab(65.16, 39.07, -33.14)
CIE-LCHlch(65.16, 51.24, 319.69°)
OKLaboklab(71.55% 0.1025 -0.0911)
OKLCHoklch(71.55% 0.137 318.4)
XYZxyz(44.7314, 34.2555, 70.5717)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786DA #99DA86
analogous
#9D86DA #C786DA #DA86C3
triadic
#C786DA #DAC786 #86DAC7
tetradic
#C786DA #DA9D86 #99DA86 #86C3DA
square
#C786DA #DA9D86 #99DA86 #86C3DA
split-complementary
#C786DA #C3DA86 #86DA9D
monochromatic
#9436B0 #B157CC #C786DA #DDB5E8 #F2E4F7

Accessibility & contrast

On white

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

On black

7.85
#C786DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786DA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786DA#FFFFFF#000000##000000
##C786DA1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A9ADD
Deuteranopia (green-blind)
#8AA0D7
Tritanopia (blue-blind)
#C790A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c786da;
/* rgb */ color: rgb(199, 134, 218);
/* oklch */ color: oklch(71.5% 0.137 318.4);
Tailwind
colors: {
  custom: {
    50: '#d9aae5',
    500: '#c786da',
    950: '#000000',
  },
}
SCSS
$custom: #c786da;
$custom-light: #d9aae5;
$custom-dark: #000000;
JSON
{
  "hex": "#c786da",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 218
  },
  "hsl": {
    "h": 286.429,
    "s": 53.165,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71545,
    "c": 0.13709,
    "h": 318.4
  },
  "luminance": 0.34254
}

Semantic roles & 50–950 ramp

primary
#C786DA
secondary
#D7EAD2
accent
#C12548
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C786DA

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

Preview Lab → · Contrast checker → · Palette generator →

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