#C786CF#C786CF

#C786CF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.1% C 0.125 H 322.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C786CF
RGBrgb(199, 134, 207)
HSLhsl(293, 43%, 67%)
HSVhsv(293, 35%, 81%)
CMYKcmyk(3.9%, 35.3%, 0%, 18.8%)
CIE-LABlab(64.72, 36.90, -27.69)
CIE-LCHlch(64.72, 46.14, 323.11°)
OKLaboklab(71.07% 0.0999 -0.0756)
OKLCHoklch(71.07% 0.125 322.9)
XYZxyz(43.3395, 33.6988, 63.2409)
Luminance0.3370 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786CF #8ECF86
analogous
#A386CF #C786CF #CF86B3
triadic
#C786CF #CFC786 #86CFC7
tetradic
#C786CF #CFA386 #8ECF86 #86B3CF
square
#C786CF #CFA386 #8ECF86 #86B3CF
split-complementary
#C786CF #B3CF86 #86CFA3
monochromatic
#923E9D #B35ABE #C786CF #DBB2E0 #F0DEF2

Accessibility & contrast

On white

2.71
#C786CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C786CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786CF
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786CF#FFFFFF#000000##000000
##C786CF1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E98D2
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#C98EA1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c786cf;
/* rgb */ color: rgb(199, 134, 207);
/* oklch */ color: oklch(71.1% 0.125 322.9);
Tailwind
colors: {
  custom: {
    50: '#d9aade',
    500: '#c786cf',
    950: '#000000',
  },
}
SCSS
$custom: #c786cf;
$custom-light: #d9aade;
$custom-dark: #000000;
JSON
{
  "hex": "#c786cf",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 293.425,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71066,
    "c": 0.12529,
    "h": 322.9
  },
  "luminance": 0.33697
}

Semantic roles & 50–950 ramp

primary
#C786CF
secondary
#CFE4CD
accent
#B62F3E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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