#C766FE#C766FE
#C766FE is a light, highly saturated violet. Relative luminance 0.288; OKLCH L 68.7% C 0.226 H 311.3°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C766FE |
|---|---|
| RGB | rgb(199, 102, 254) |
| HSL | hsl(278, 99%, 70%) |
| HSV | hsv(278, 60%, 100%) |
| CMYK | cmyk(21.7%, 59.8%, 0%, 0.4%) |
| CIE-LAB | lab(60.61, 62.91, -60.28) |
| CIE-LCH | lch(60.61, 87.12, 316.22°) |
| OKLab | oklab(68.74% 0.149 -0.1696) |
| OKLCH | oklch(68.74% 0.226 311.3) |
| XYZ | xyz(46.1907, 28.8017, 96.8727) |
| Luminance | 0.2880 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.13
Bright Lilac
#C95EFB
ΔE00 1.56
Easter Purple
#C071FE
ΔE00 2.36
Light Urple
#B36FF6
ΔE00 3.61
Light Purple
#BF77F6
ΔE00 3.67
Heliotrope
#D94FF5
ΔE00 4.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C766FE #9DFE66
analogous
#7B66FE #C766FE #FE66E9
triadic
#C766FE #FEC766 #66FEC7
tetradic
#C766FE #FE7B66 #9DFE66 #66E9FE
square
#C766FE #FE7B66 #9DFE66 #66E9FE
split-complementary
#C766FE #E9FE66 #66FE7B
monochromatic
#9502E8 #B129FE #C766FE #DDA3FE #F4E0FF
Accessibility & contrast
On white
3.11
#C766FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.76
#C766FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C766FE
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C766FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C766FE | 1.00 | 3.11 | 6.76 | 6.76 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B8DFF
Deuteranopia (green-blind)
#5894FA
Tritanopia (blue-blind)
#C083A9
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c766fe; /* rgb */ color: rgb(199, 102, 254); /* oklch */ color: oklch(68.7% 0.226 311.3);
Tailwind
colors: {
custom: {
50: '#dc96ff',
500: '#c766fe',
950: '#000000',
},
}SCSS
$custom: #c766fe; $custom-light: #dc96ff; $custom-dark: #000000;
JSON
{
"hex": "#c766fe",
"rgb": {
"r": 199,
"g": 102,
"b": 254
},
"hsl": {
"h": 278.289,
"s": 98.701,
"l": 69.804
},
"oklch": {
"l": 0.6874,
"c": 0.2257,
"h": 311.3
},
"luminance": 0.28801
}Semantic roles & 50–950 ramp
primary
#C766FE
secondary
#DAF5CA
accent
#E60053
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86