#C786BF#C786BF

#C786BF is a light, moderate purple. Relative luminance 0.330; OKLCH L 70.4% C 0.109 H 331.1°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#C786BF
RGBrgb(199, 134, 191)
HSLhsl(307, 37%, 65%)
HSVhsv(307, 33%, 78%)
CMYKcmyk(0%, 32.7%, 4%, 22%)
CIE-LABlab(64.12, 33.90, -19.63)
CIE-LCHlch(64.12, 39.17, 329.93°)
OKLaboklab(70.42% 0.0957 -0.0529)
OKLCHoklch(70.42% 0.109 331.1)
XYZxyz(41.4817, 32.9556, 53.4561)
Luminance0.3295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786BF #86C78E
analogous
#AF86C7 #C786BF #C7869E
triadic
#C786BF #BFC786 #86BFC7
tetradic
#C786BF #C7AF86 #86C78E #869EC7
square
#C786BF #C7AF86 #86C78E #869EC7
split-complementary
#C786BF #9EC786 #86C7AF
monochromatic
#904386 #B45CA9 #C786BF #DAB0D5 #EEDAEB

Accessibility & contrast

On white

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

On black

7.59
#C786BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786BF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786BF#FFFFFF#000000##000000
##C786BF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8496C1
Deuteranopia (green-blind)
#949FBD
Tritanopia (blue-blind)
#CC8A9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c786bf;
/* rgb */ color: rgb(199, 134, 191);
/* oklch */ color: oklch(70.4% 0.109 331.1);
Tailwind
colors: {
  custom: {
    50: '#d9aad2',
    500: '#c786bf',
    950: '#000000',
  },
}
SCSS
$custom: #c786bf;
$custom-light: #d9aad2;
$custom-dark: #000000;
JSON
{
  "hex": "#c786bf",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 307.385,
    "s": 36.723,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.10934,
    "h": 331.1
  },
  "luminance": 0.32954
}

Semantic roles & 50–950 ramp

primary
#C786BF
secondary
#C9DFCC
accent
#B04536
background
#FDFAFC
surface
#FAF4F9
border
#D3CED2
text
#151014
muted
#837F82

Preview Lab

Preview with #C786BF

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

Preview Lab → · Contrast checker → · Palette generator →

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