#C768F2#C768F2
#C768F2 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.3% C 0.211 H 314.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C768F2 |
|---|---|
| RGB | rgb(199, 104, 242) |
| HSL | hsl(281, 84%, 68%) |
| HSV | hsv(281, 57%, 95%) |
| CMYK | cmyk(17.8%, 57%, 0%, 5.1%) |
| CIE-LAB | lab(60.30, 59.46, -54.14) |
| CIE-LCH | lch(60.30, 80.41, 317.68°) |
| OKLab | oklab(68.3% 0.1464 -0.1516) |
| OKLCH | oklch(68.3% 0.211 314) |
| XYZ | xyz(44.5279, 28.4548, 87.1339) |
| Luminance | 0.2845 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 2.15
Bright Lavender
#C760FF
ΔE00 2.37
Easter Purple
#C071FE
ΔE00 3.03
Light Purple
#BF77F6
ΔE00 3.50
Light Urple
#B36FF6
ΔE00 3.99
Heliotrope
#D94FF5
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C768F2 #93F268
analogous
#8268F2 #C768F2 #F268D8
triadic
#C768F2 #F2C768 #68F2C7
tetradic
#C768F2 #F28268 #93F268 #68D8F2
square
#C768F2 #F28268 #93F268 #68D8F2
split-complementary
#C768F2 #D8F268 #68F282
monochromatic
#9312CE #B230ED #C768F2 #DCA0F7 #F1D9FC
Accessibility & contrast
On white
3.14
#C768F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#C768F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C768F2
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C768F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C768F2 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408CF6
Deuteranopia (green-blind)
#6494EF
Tritanopia (blue-blind)
#C380A3
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #c768f2; /* rgb */ color: rgb(199, 104, 242); /* oklch */ color: oklch(68.3% 0.211 314.0);
Tailwind
colors: {
custom: {
50: '#db97f7',
500: '#c768f2',
950: '#000000',
},
}SCSS
$custom: #c768f2; $custom-light: #db97f7; $custom-dark: #000000;
JSON
{
"hex": "#c768f2",
"rgb": {
"r": 199,
"g": 104,
"b": 242
},
"hsl": {
"h": 281.304,
"s": 84.146,
"l": 67.843
},
"oklch": {
"l": 0.68301,
"c": 0.21074,
"h": 314
},
"luminance": 0.28454
}Semantic roles & 50–950 ramp
primary
#C768F2
secondary
#D3F0C6
accent
#E10549
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85