#C786DD#C786DD
#C786DD is a light, vivid purple. Relative luminance 0.344; OKLCH L 71.7% C 0.140 H 317.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C786DD |
|---|---|
| RGB | rgb(199, 134, 221) |
| HSL | hsl(285, 56%, 70%) |
| HSV | hsv(285, 39%, 87%) |
| CMYK | cmyk(10%, 39.4%, 0%, 13.3%) |
| CIE-LAB | lab(65.29, 39.68, -34.62) |
| CIE-LCH | lch(65.29, 52.66, 318.90°) |
| OKLab | oklab(71.68% 0.1031 -0.0953) |
| OKLCH | oklch(71.68% 0.14 317.3) |
| XYZ | xyz(45.1276, 34.4140, 72.6579) |
| Luminance | 0.3441 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.84
Lavender Pink
#DD85D7
ΔE00 5.04
Orchid (survey)
#C875C4
ΔE00 5.89
Liliac
#C48EFD
ΔE00 6.14
Orchid
#DA70D6
ΔE00 6.15
Baby Purple
#CA9BF7
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C786DD #9CDD86
analogous
#9C86DD #C786DD #DD86C7
triadic
#C786DD #DDC786 #86DDC7
tetradic
#C786DD #DD9C86 #9CDD86 #86C7DD
square
#C786DD #DD9C86 #9CDD86 #86C7DD
split-complementary
#C786DD #C7DD86 #86DD9C
monochromatic
#9533B6 #B156D0 #C786DD #DDB6EA #F3E6F8
Accessibility & contrast
On white
2.66
#C786DD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#C786DD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C786DD
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C786DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C786DD | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#799AE0
Deuteranopia (green-blind)
#89A1DA
Tritanopia (blue-blind)
#C791A7
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c786dd; /* rgb */ color: rgb(199, 134, 221); /* oklch */ color: oklch(71.7% 0.140 317.3);
Tailwind
colors: {
custom: {
50: '#d9aae8',
500: '#c786dd',
950: '#000000',
},
}SCSS
$custom: #c786dd; $custom-light: #d9aae8; $custom-dark: #000000;
JSON
{
"hex": "#c786dd",
"rgb": {
"r": 199,
"g": 134,
"b": 221
},
"hsl": {
"h": 284.828,
"s": 56.129,
"l": 69.608
},
"oklch": {
"l": 0.71681,
"c": 0.14038,
"h": 317.3
},
"luminance": 0.34413
}Semantic roles & 50–950 ramp
primary
#C786DD
secondary
#D9ECD3
accent
#C4224B
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84