#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 |
|---|---|
| RGB | rgb(199, 134, 205) |
| HSL | hsl(295, 42%, 66%) |
| HSV | hsv(295, 35%, 80%) |
| CMYK | cmyk(2.9%, 34.6%, 0%, 19.6%) |
| CIE-LAB | lab(64.65, 36.52, -26.69) |
| CIE-LCH | lch(64.65, 45.23, 323.83°) |
| OKLab | oklab(70.98% 0.0994 -0.0727) |
| OKLCH | oklch(70.98% 0.123 323.8) |
| XYZ | xyz(43.0966, 33.6016, 61.9614) |
| Luminance | 0.3360 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.01
Orchid (survey)
#C875C4
ΔE00 4.36
Pale Purple
#B790D4
ΔE00 5.25
Orchid
#DA70D6
ΔE00 6.23
Wisteria
#A87DC2
ΔE00 6.55
Plum
#DDA0DD
ΔE00 7.20
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 |
|---|---|---|---|---|
| ##C786CD | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.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