#C766FD#C766FD
#C766FD is a light, highly saturated violet. Relative luminance 0.287; OKLCH L 68.7% C 0.225 H 311.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #C766FD |
|---|---|
| RGB | rgb(199, 102, 253) |
| HSL | hsl(279, 97%, 70%) |
| HSV | hsv(279, 60%, 99%) |
| CMYK | cmyk(21.3%, 59.7%, 0%, 0.8%) |
| CIE-LAB | lab(60.55, 62.70, -59.82) |
| CIE-LCH | lch(60.55, 86.65, 316.35°) |
| OKLab | oklab(68.68% 0.149 -0.1682) |
| OKLCH | oklch(68.68% 0.225 311.5) |
| XYZ | xyz(46.0309, 28.7378, 96.0316) |
| Luminance | 0.2874 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.14
Bright Lilac
#C95EFB
ΔE00 1.51
Easter Purple
#C071FE
ΔE00 2.40
Light Urple
#B36FF6
ΔE00 3.61
Light Purple
#BF77F6
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C766FD #9CFD66
analogous
#7C66FD #C766FD #FD66E8
triadic
#C766FD #FDC766 #66FDC7
tetradic
#C766FD #FD7C66 #9CFD66 #66E8FD
square
#C766FD #FD7C66 #9CFD66 #66E8FD
split-complementary
#C766FD #E8FD66 #66FD7C
monochromatic
#9503E6 #B12AFC #C766FD #DDA2FE #F3DFFF
Accessibility & contrast
On white
3.11
#C766FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#C766FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C766FD
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C766FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C766FD | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C8DFF
Deuteranopia (green-blind)
#5994F9
Tritanopia (blue-blind)
#C182A8
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #c766fd; /* rgb */ color: rgb(199, 102, 253); /* oklch */ color: oklch(68.7% 0.225 311.5);
Tailwind
colors: {
custom: {
50: '#dc96ff',
500: '#c766fd',
950: '#000000',
},
}SCSS
$custom: #c766fd; $custom-light: #dc96ff; $custom-dark: #000000;
JSON
{
"hex": "#c766fd",
"rgb": {
"r": 199,
"g": 102,
"b": 253
},
"hsl": {
"h": 278.543,
"s": 97.419,
"l": 69.608
},
"oklch": {
"l": 0.6868,
"c": 0.2247,
"h": 311.5
},
"luminance": 0.28737
}Semantic roles & 50–950 ramp
primary
#C766FD
secondary
#D9F5CA
accent
#E60052
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86