#C787CF#C787CF
#C787CF is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.2% C 0.124 H 322.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C787CF |
|---|---|
| RGB | rgb(199, 135, 207) |
| HSL | hsl(293, 43%, 67%) |
| HSV | hsv(293, 35%, 81%) |
| CMYK | cmyk(3.9%, 34.8%, 0%, 18.8%) |
| CIE-LAB | lab(64.94, 36.36, -27.35) |
| CIE-LCH | lch(64.94, 45.50, 323.05°) |
| OKLab | oklab(71.23% 0.0984 -0.0746) |
| OKLCH | oklch(71.23% 0.124 322.8) |
| XYZ | xyz(43.4784, 33.9765, 63.2872) |
| Luminance | 0.3397 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.05
Orchid (survey)
#C875C4
ΔE00 4.68
Pale Purple
#B790D4
ΔE00 4.93
Orchid
#DA70D6
ΔE00 6.35
Wisteria
#A87DC2
ΔE00 6.55
Plum
#DDA0DD
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C787CF #8FCF87
analogous
#A387CF #C787CF #CF87B3
triadic
#C787CF #CFC787 #87CFC7
tetradic
#C787CF #CFA387 #8FCF87 #87B3CF
square
#C787CF #CFA387 #8FCF87 #87B3CF
split-complementary
#C787CF #B3CF87 #87CFA3
monochromatic
#923F9D #B35BBE #C787CF #DBB3E0 #F0DEF2
Accessibility & contrast
On white
2.69
#C787CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#C787CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C787CF
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C787CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C787CF | 1.00 | 2.69 | 7.79 | 7.79 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8099D2
Deuteranopia (green-blind)
#8FA0CD
Tritanopia (blue-blind)
#C98FA2
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #c787cf; /* rgb */ color: rgb(199, 135, 207); /* oklch */ color: oklch(71.2% 0.124 322.8);
Tailwind
colors: {
custom: {
50: '#d9abde',
500: '#c787cf',
950: '#000000',
},
}SCSS
$custom: #c787cf; $custom-light: #d9abde; $custom-dark: #000000;
JSON
{
"hex": "#c787cf",
"rgb": {
"r": 199,
"g": 135,
"b": 207
},
"hsl": {
"h": 293.333,
"s": 42.857,
"l": 67.059
},
"oklch": {
"l": 0.71234,
"c": 0.12352,
"h": 322.8
},
"luminance": 0.33975
}Semantic roles & 50–950 ramp
primary
#C787CF
secondary
#D0E4CD
accent
#B6303E
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83