#C786CD#C786CD

#C786CD is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.0% C 0.123 H 323.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#C786CD
RGBrgb(199, 134, 205)
HSLhsl(295, 42%, 66%)
HSVhsv(295, 35%, 80%)
CMYKcmyk(2.9%, 34.6%, 0%, 19.6%)
CIE-LABlab(64.65, 36.52, -26.69)
CIE-LCHlch(64.65, 45.23, 323.83°)
OKLaboklab(70.98% 0.0994 -0.0727)
OKLCHoklch(70.98% 0.123 323.8)
XYZxyz(43.0966, 33.6016, 61.9614)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786CD #8CCD86
analogous
#A486CD #C786CD #CD86B0
triadic
#C786CD #CDC786 #86CDC7
tetradic
#C786CD #CDA486 #8CCD86 #86B0CD
square
#C786CD #CDA486 #8CCD86 #86B0CD
split-complementary
#C786CD #B0CD86 #86CDA4
monochromatic
#923F99 #B35BBB #C786CD #DBB1DF #EFDDF1

Accessibility & contrast

On white

2.72
#C786CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#C786CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786CD
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786CD#FFFFFF#000000##000000
##C786CD1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#8FA0CB
Tritanopia (blue-blind)
#CA8DA0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c786cd;
/* rgb */ color: rgb(199, 134, 205);
/* oklch */ color: oklch(71.0% 0.123 323.8);
Tailwind
colors: {
  custom: {
    50: '#d9aadc',
    500: '#c786cd',
    950: '#000000',
  },
}
SCSS
$custom: #c786cd;
$custom-light: #d9aadc;
$custom-dark: #000000;
JSON
{
  "hex": "#c786cd",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 294.93,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70982,
    "c": 0.1232,
    "h": 323.8
  },
  "luminance": 0.336
}

Semantic roles & 50–950 ramp

primary
#C786CD
secondary
#CEE3CC
accent
#B5313C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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