#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 |
|---|---|
| RGB | rgb(199, 134, 203) |
| HSL | hsl(297, 40%, 66%) |
| HSV | hsv(297, 34%, 80%) |
| CMYK | cmyk(2%, 34%, 0%, 20.4%) |
| CIE-LAB | lab(64.57, 36.13, -25.69) |
| CIE-LCH | lch(64.57, 44.34, 324.59°) |
| OKLab | oklab(70.9% 0.0989 -0.0699) |
| OKLCH | oklch(70.9% 0.121 324.8) |
| XYZ | xyz(42.8567, 33.5056, 60.6980) |
| Luminance | 0.3350 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.07
Orchid (survey)
#C875C4
ΔE00 4.33
Pale Purple
#B790D4
ΔE00 5.46
Orchid
#DA70D6
ΔE00 6.38
Wisteria
#A87DC2
ΔE00 6.66
Plum
#DDA0DD
ΔE00 7.14
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 |
|---|---|---|---|---|
| ##C786CB | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.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