#C786CA#C786CA
#C786CA is a light, vivid purple. Relative luminance 0.335; OKLCH L 70.9% C 0.120 H 325.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C786CA |
|---|---|
| RGB | rgb(199, 134, 202) |
| HSL | hsl(297, 39%, 66%) |
| HSV | hsv(297, 34%, 79%) |
| CMYK | cmyk(1.5%, 33.7%, 0%, 20.8%) |
| CIE-LAB | lab(64.53, 35.94, -25.19) |
| CIE-LCH | lch(64.53, 43.89, 324.98°) |
| OKLab | oklab(70.86% 0.0987 -0.0685) |
| OKLCH | oklch(70.86% 0.12 325.2) |
| XYZ | xyz(42.7379, 33.4581, 60.0725) |
| Luminance | 0.3346 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.12
Orchid (survey)
#C875C4
ΔE00 4.33
Pale Purple
#B790D4
ΔE00 5.58
Orchid
#DA70D6
ΔE00 6.47
Wisteria
#A87DC2
ΔE00 6.73
Plum
#DDA0DD
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C786CA #89CA86
analogous
#A586CA #C786CA #CA86AB
triadic
#C786CA #CAC786 #86CAC7
tetradic
#C786CA #CAA586 #89CA86 #86ABCA
square
#C786CA #CAA586 #89CA86 #86ABCA
split-complementary
#C786CA #ABCA86 #86CAA5
monochromatic
#914195 #B35BB7 #C786CA #DBB1DD #EEDBEF
Accessibility & contrast
On white
2.73
#C786CA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#C786CA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C786CA
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C786CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C786CA | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8097CD
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#CA8C9F
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #c786ca; /* rgb */ color: rgb(199, 134, 202); /* oklch */ color: oklch(70.9% 0.120 325.2);
Tailwind
colors: {
custom: {
50: '#d9aada',
500: '#c786ca',
950: '#000000',
},
}SCSS
$custom: #c786ca; $custom-light: #d9aada; $custom-dark: #000000;
JSON
{
"hex": "#c786ca",
"rgb": {
"r": 199,
"g": 134,
"b": 202
},
"hsl": {
"h": 297.353,
"s": 39.08,
"l": 65.882
},
"oklch": {
"l": 0.70857,
"c": 0.12012,
"h": 325.2
},
"luminance": 0.33457
}Semantic roles & 50–950 ramp
primary
#C786CA
secondary
#CCE1CB
accent
#B23339
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83