#CF79FE#CF79FE
#CF79FE is a light, highly saturated violet. Relative luminance 0.341; OKLCH L 72.2% C 0.201 H 312.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79FE |
|---|---|
| RGB | rgb(207, 121, 254) |
| HSL | hsl(279, 99%, 74%) |
| HSV | hsv(279, 52%, 100%) |
| CMYK | cmyk(18.5%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(65.04, 55.54, -53.16) |
| CIE-LCH | lch(65.04, 76.88, 316.25°) |
| OKLab | oklab(72.19% 0.135 -0.1486) |
| OKLCH | oklch(72.19% 0.201 312.3) |
| XYZ | xyz(50.4558, 34.0971, 97.6702) |
| Luminance | 0.3410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.82
Easter Purple
#C071FE
ΔE00 3.38
Liliac
#C48EFD
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.43
Light Urple
#B36FF6
ΔE00 5.56
Bright Lilac
#C95EFB
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79FE #A8FE79
analogous
#8C79FE #CF79FE #FE79EA
triadic
#CF79FE #FECF79 #79FECF
tetradic
#CF79FE #FE8C79 #A8FE79 #79EAFE
square
#CF79FE #FE8C79 #A8FE79 #79EAFE
split-complementary
#CF79FE #EAFE79 #79FE8C
monochromatic
#A302FB #B93CFE #CF79FE #E5B6FE #F4E1FF
Accessibility & contrast
On white
2.69
#CF79FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CF79FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79FE
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79FE | 1.00 | 2.69 | 7.82 | 7.82 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#CA8FB0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf79fe; /* rgb */ color: rgb(207, 121, 254); /* oklch */ color: oklch(72.2% 0.201 312.3);
Tailwind
colors: {
custom: {
50: '#e0a2ff',
500: '#cf79fe',
950: '#000000',
},
}SCSS
$custom: #cf79fe; $custom-light: #e0a2ff; $custom-dark: #000000;
JSON
{
"hex": "#cf79fe",
"rgb": {
"r": 207,
"g": 121,
"b": 254
},
"hsl": {
"h": 278.797,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.7219,
"c": 0.20082,
"h": 312.3
},
"luminance": 0.34096
}Semantic roles & 50–950 ramp
primary
#CF79FE
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86