#C266FC#C266FC
#C266FC is a light, highly saturated violet. Relative luminance 0.280; OKLCH L 68.1% C 0.222 H 310.1°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C266FC |
|---|---|
| RGB | rgb(194, 102, 252) |
| HSL | hsl(277, 96%, 69%) |
| HSV | hsv(277, 60%, 99%) |
| CMYK | cmyk(23%, 59.5%, 0%, 1.2%) |
| CIE-LAB | lab(59.89, 61.33, -60.36) |
| CIE-LCH | lch(59.89, 86.05, 315.46°) |
| OKLab | oklab(68.05% 0.1429 -0.1699) |
| OKLCH | oklch(68.05% 0.222 310.1) |
| XYZ | xyz(44.5668, 28.0012, 95.1336) |
| Luminance | 0.2800 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.21
Bright Lilac
#C95EFB
ΔE00 1.73
Easter Purple
#C071FE
ΔE00 2.30
Light Urple
#B36FF6
ΔE00 2.95
Light Purple
#BF77F6
ΔE00 3.65
Heliotrope
#D94FF5
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C266FC #A0FC66
analogous
#7766FC #C266FC #FC66EB
triadic
#C266FC #FCC266 #66FCC2
tetradic
#C266FC #FC7766 #A0FC66 #66EBFC
square
#C266FC #FC7766 #A0FC66 #66EBFC
split-complementary
#C266FC #EBFC66 #66FC77
monochromatic
#8D04E3 #AA2AFB #C266FC #DAA2FD #F2DEFE
Accessibility & contrast
On white
3.18
#C266FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#C266FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C266FC
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C266FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C266FC | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#298CFF
Deuteranopia (green-blind)
#5592F8
Tritanopia (blue-blind)
#BA82A8
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #c266fc; /* rgb */ color: rgb(194, 102, 252); /* oklch */ color: oklch(68.1% 0.222 310.1);
Tailwind
colors: {
custom: {
50: '#d896fe',
500: '#c266fc',
950: '#000000',
},
}SCSS
$custom: #c266fc; $custom-light: #d896fe; $custom-dark: #000000;
JSON
{
"hex": "#c266fc",
"rgb": {
"r": 194,
"g": 102,
"b": 252
},
"hsl": {
"h": 276.8,
"s": 96.154,
"l": 69.412
},
"oklch": {
"l": 0.68052,
"c": 0.22204,
"h": 310.1
},
"luminance": 0.28
}Semantic roles & 50–950 ramp
primary
#C266FC
secondary
#DAF5C9
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86