#C781CF#C781CF
#C781CF is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.2% C 0.134 H 323.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C781CF |
|---|---|
| RGB | rgb(199, 129, 207) |
| HSL | hsl(294, 45%, 66%) |
| HSV | hsv(294, 38%, 81%) |
| CMYK | cmyk(3.9%, 37.7%, 0%, 18.8%) |
| CIE-LAB | lab(63.63, 39.60, -29.38) |
| CIE-LCH | lch(63.63, 49.31, 323.43°) |
| OKLab | oklab(70.24% 0.1074 -0.0803) |
| OKLCH | oklch(70.24% 0.134 323.2) |
| XYZ | xyz(42.6647, 32.3492, 63.0160) |
| Luminance | 0.3235 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.36
Lavender Pink
#DD85D7
ΔE00 4.07
Orchid
#DA70D6
ΔE00 5.00
Pale Purple
#B790D4
ΔE00 5.89
Wisteria
#A87DC2
ΔE00 6.24
Violet (CSS)
#EE82EE
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C781CF #89CF81
analogous
#A081CF #C781CF #CF81B0
triadic
#C781CF #CFC781 #81CFC7
tetradic
#C781CF #CFA081 #89CF81 #81B0CF
square
#C781CF #CFA081 #89CF81 #81B0CF
split-complementary
#C781CF #B0CF81 #81CFA0
monochromatic
#913B9B #B355BE #C781CF #DBADE0 #EEDAF1
Accessibility & contrast
On white
2.81
#C781CF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#C781CF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C781CF
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C781CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C781CF | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#8B9DCD
Tritanopia (blue-blind)
#CA899E
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c781cf; /* rgb */ color: rgb(199, 129, 207); /* oklch */ color: oklch(70.2% 0.134 323.2);
Tailwind
colors: {
custom: {
50: '#d9a7de',
500: '#c781cf',
950: '#000000',
},
}SCSS
$custom: #c781cf; $custom-light: #d9a7de; $custom-dark: #000000;
JSON
{
"hex": "#c781cf",
"rgb": {
"r": 199,
"g": 129,
"b": 207
},
"hsl": {
"h": 293.846,
"s": 44.828,
"l": 65.882
},
"oklch": {
"l": 0.70242,
"c": 0.13408,
"h": 323.2
},
"luminance": 0.32348
}Semantic roles & 50–950 ramp
primary
#C781CF
secondary
#CCE3C9
accent
#B82E3C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83