#C766FB#C766FB
#C766FB is a light, highly saturated violet. Relative luminance 0.286; OKLCH L 68.6% C 0.223 H 312.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #C766FB |
|---|---|
| RGB | rgb(199, 102, 251) |
| HSL | hsl(279, 95%, 69%) |
| HSV | hsv(279, 59%, 98%) |
| CMYK | cmyk(20.7%, 59.4%, 0%, 1.6%) |
| CIE-LAB | lab(60.44, 62.28, -58.89) |
| CIE-LCH | lch(60.44, 85.72, 316.60°) |
| OKLab | oklab(68.56% 0.149 -0.1655) |
| OKLCH | oklch(68.56% 0.223 312) |
| XYZ | xyz(45.7140, 28.6110, 94.3624) |
| Luminance | 0.2861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.23
Bright Lilac
#C95EFB
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 2.50
Light Purple
#BF77F6
ΔE00 3.64
Light Urple
#B36FF6
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C766FB #9AFB66
analogous
#7D66FB #C766FB #FB66E5
triadic
#C766FB #FBC766 #66FBC7
tetradic
#C766FB #FB7D66 #9AFB66 #66E5FB
square
#C766FB #FB7D66 #9AFB66 #66E5FB
split-complementary
#C766FB #E5FB66 #66FB7D
monochromatic
#9406E1 #B12AF9 #C766FB #DDA2FD #F3DDFE
Accessibility & contrast
On white
3.12
#C766FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.72
#C766FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C766FB
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C766FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C766FB | 1.00 | 3.12 | 6.72 | 6.72 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#308DFF
Deuteranopia (green-blind)
#5B94F7
Tritanopia (blue-blind)
#C181A7
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c766fb; /* rgb */ color: rgb(199, 102, 251); /* oklch */ color: oklch(68.6% 0.223 312.0);
Tailwind
colors: {
custom: {
50: '#db96fd',
500: '#c766fb',
950: '#000000',
},
}SCSS
$custom: #c766fb; $custom-light: #db96fd; $custom-dark: #000000;
JSON
{
"hex": "#c766fb",
"rgb": {
"r": 199,
"g": 102,
"b": 251
},
"hsl": {
"h": 279.06,
"s": 94.904,
"l": 69.216
},
"oklch": {
"l": 0.68562,
"c": 0.22268,
"h": 312
},
"luminance": 0.2861
}Semantic roles & 50–950 ramp
primary
#C766FB
secondary
#D8F4C9
accent
#E60050
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86