#C781FB#C781FB
#C781FB is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.182 H 309.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C781FB |
|---|---|
| RGB | rgb(199, 129, 251) |
| HSL | hsl(274, 94%, 75%) |
| HSV | hsv(274, 49%, 98%) |
| CMYK | cmyk(20.7%, 48.6%, 0%, 1.6%) |
| CIE-LAB | lab(65.60, 48.69, -50.69) |
| CIE-LCH | lch(65.60, 70.28, 313.85°) |
| OKLab | oklab(72.36% 0.1148 -0.1417) |
| OKLCH | oklch(72.36% 0.182 309) |
| XYZ | xyz(48.8127, 34.8084, 95.3953) |
| Luminance | 0.3481 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.73
Liliac
#C48EFD
ΔE00 3.22
Easter Purple
#C071FE
ΔE00 3.98
Light Urple
#B36FF6
ΔE00 5.62
Baby Purple
#CA9BF7
ΔE00 6.62
Bright Lavender
#C760FF
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C781FB #B5FB81
analogous
#8A81FB #C781FB #FB81F2
triadic
#C781FB #FBC781 #81FBC7
tetradic
#C781FB #FB8A81 #B5FB81 #81F2FB
square
#C781FB #FB8A81 #B5FB81 #81F2FB
split-complementary
#C781FB #F2FB81 #81FB8A
monochromatic
#920AF7 #AD46F9 #C781FB #E1BCFD #F2E1FE
Accessibility & contrast
On white
2.64
#C781FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#C781FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C781FB
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C781FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C781FB | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#C095B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #c781fb; /* rgb */ color: rgb(199, 129, 251); /* oklch */ color: oklch(72.4% 0.182 309.0);
Tailwind
colors: {
custom: {
50: '#daa7fd',
500: '#c781fb',
950: '#000000',
},
}SCSS
$custom: #c781fb; $custom-light: #daa7fd; $custom-dark: #000000;
JSON
{
"hex": "#c781fb",
"rgb": {
"r": 199,
"g": 129,
"b": 251
},
"hsl": {
"h": 274.426,
"s": 93.846,
"l": 74.51
},
"oklch": {
"l": 0.72359,
"c": 0.18234,
"h": 309
},
"luminance": 0.34808
}Semantic roles & 50–950 ramp
primary
#C781FB
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86