#C786CF#C786CF
#C786CF is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.1% C 0.125 H 322.9°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #C786CF |
|---|---|
| RGB | rgb(199, 134, 207) |
| HSL | hsl(293, 43%, 67%) |
| HSV | hsv(293, 35%, 81%) |
| CMYK | cmyk(3.9%, 35.3%, 0%, 18.8%) |
| CIE-LAB | lab(64.72, 36.90, -27.69) |
| CIE-LCH | lch(64.72, 46.14, 323.11°) |
| OKLab | oklab(71.07% 0.0999 -0.0756) |
| OKLCH | oklch(71.07% 0.125 322.9) |
| XYZ | xyz(43.3395, 33.6988, 63.2409) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.00
Orchid (survey)
#C875C4
ΔE00 4.44
Pale Purple
#B790D4
ΔE00 5.07
Orchid
#DA70D6
ΔE00 6.11
Wisteria
#A87DC2
ΔE00 6.47
Plum
#DDA0DD
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C786CF #8ECF86
analogous
#A386CF #C786CF #CF86B3
triadic
#C786CF #CFC786 #86CFC7
tetradic
#C786CF #CFA386 #8ECF86 #86B3CF
square
#C786CF #CFA386 #8ECF86 #86B3CF
split-complementary
#C786CF #B3CF86 #86CFA3
monochromatic
#923E9D #B35ABE #C786CF #DBB2E0 #F0DEF2
Accessibility & contrast
On white
2.71
#C786CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#C786CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C786CF
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C786CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C786CF | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E98D2
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#C98EA1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c786cf; /* rgb */ color: rgb(199, 134, 207); /* oklch */ color: oklch(71.1% 0.125 322.9);
Tailwind
colors: {
custom: {
50: '#d9aade',
500: '#c786cf',
950: '#000000',
},
}SCSS
$custom: #c786cf; $custom-light: #d9aade; $custom-dark: #000000;
JSON
{
"hex": "#c786cf",
"rgb": {
"r": 199,
"g": 134,
"b": 207
},
"hsl": {
"h": 293.425,
"s": 43.195,
"l": 66.863
},
"oklch": {
"l": 0.71066,
"c": 0.12529,
"h": 322.9
},
"luminance": 0.33697
}Semantic roles & 50–950 ramp
primary
#C786CF
secondary
#CFE4CD
accent
#B62F3E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83