#C786CB#C786CB

#C786CB is a light, vivid purple. Relative luminance 0.335; OKLCH L 70.9% C 0.121 H 324.8°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#C786CB
RGBrgb(199, 134, 203)
HSLhsl(297, 40%, 66%)
HSVhsv(297, 34%, 80%)
CMYKcmyk(2%, 34%, 0%, 20.4%)
CIE-LABlab(64.57, 36.13, -25.69)
CIE-LCHlch(64.57, 44.34, 324.59°)
OKLaboklab(70.9% 0.0989 -0.0699)
OKLCHoklch(70.9% 0.121 324.8)
XYZxyz(42.8567, 33.5056, 60.6980)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C786CB #8ACB86
analogous
#A486CB #C786CB #CB86AC
triadic
#C786CB #CBC786 #86CBC7
tetradic
#C786CB #CBA486 #8ACB86 #86ACCB
square
#C786CB #CBA486 #8ACB86 #86ACCB
split-complementary
#C786CB #ACCB86 #86CBA4
monochromatic
#914196 #B35BB9 #C786CB #DBB1DD #EFDCF0

Accessibility & contrast

On white

2.73
#C786CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#C786CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C786CB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C786CB#FFFFFF#000000##000000
##C786CB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8098CE
Deuteranopia (green-blind)
#909FC9
Tritanopia (blue-blind)
#CA8D9F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c786cb;
/* rgb */ color: rgb(199, 134, 203);
/* oklch */ color: oklch(70.9% 0.121 324.8);
Tailwind
colors: {
  custom: {
    50: '#d9aadb',
    500: '#c786cb',
    950: '#000000',
  },
}
SCSS
$custom: #c786cb;
$custom-light: #d9aadb;
$custom-dark: #000000;
JSON
{
  "hex": "#c786cb",
  "rgb": {
    "r": 199,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 296.522,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70899,
    "c": 0.12115,
    "h": 324.8
  },
  "luminance": 0.33504
}

Semantic roles & 50–950 ramp

primary
#C786CB
secondary
#CCE2CB
accent
#B3333A
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #C786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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