#C787CD#C787CD
#C787CD is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.2% C 0.121 H 323.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C787CD |
|---|---|
| RGB | rgb(199, 135, 205) |
| HSL | hsl(295, 41%, 67%) |
| HSV | hsv(295, 34%, 80%) |
| CMYK | cmyk(2.9%, 34.1%, 0%, 19.6%) |
| CIE-LAB | lab(64.87, 35.97, -26.35) |
| CIE-LCH | lch(64.87, 44.59, 323.78°) |
| OKLab | oklab(71.15% 0.0979 -0.0718) |
| OKLCH | oklch(71.15% 0.121 323.8) |
| XYZ | xyz(43.2354, 33.8793, 62.0076) |
| Luminance | 0.3388 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.07
Orchid (survey)
#C875C4
ΔE00 4.61
Pale Purple
#B790D4
ΔE00 5.12
Orchid
#DA70D6
ΔE00 6.47
Wisteria
#A87DC2
ΔE00 6.64
Plum
#DDA0DD
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C787CD #8DCD87
analogous
#A487CD #C787CD #CD87B0
triadic
#C787CD #CDC787 #87CDC7
tetradic
#C787CD #CDA487 #8DCD87 #87B0CD
square
#C787CD #CDA487 #8DCD87 #87B0CD
split-complementary
#C787CD #B0CD87 #87CDA4
monochromatic
#92409A #B35CBB #C787CD #DBB2DF #EFDDF1
Accessibility & contrast
On white
2.70
#C787CD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#C787CD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C787CD
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C787CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C787CD | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8099D0
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#CA8EA1
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #c787cd; /* rgb */ color: rgb(199, 135, 205); /* oklch */ color: oklch(71.2% 0.121 323.8);
Tailwind
colors: {
custom: {
50: '#d9abdc',
500: '#c787cd',
950: '#000000',
},
}SCSS
$custom: #c787cd; $custom-light: #d9abdc; $custom-dark: #000000;
JSON
{
"hex": "#c787cd",
"rgb": {
"r": 199,
"g": 135,
"b": 205
},
"hsl": {
"h": 294.857,
"s": 41.176,
"l": 66.667
},
"oklch": {
"l": 0.7115,
"c": 0.12143,
"h": 323.8
},
"luminance": 0.33878
}Semantic roles & 50–950 ramp
primary
#C787CD
secondary
#CFE3CD
accent
#B4313D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83