#CD79FE#CD79FE
#CD79FE is a light, highly saturated violet. Relative luminance 0.338; OKLCH L 72.0% C 0.200 H 311.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79FE |
|---|---|
| RGB | rgb(205, 121, 254) |
| HSL | hsl(278, 99%, 74%) |
| HSV | hsv(278, 52%, 100%) |
| CMYK | cmyk(19.3%, 52.4%, 0%, 0.4%) |
| CIE-LAB | lab(64.81, 55.03, -53.54) |
| CIE-LCH | lch(64.81, 76.78, 315.79°) |
| OKLab | oklab(71.97% 0.1327 -0.1498) |
| OKLCH | oklch(71.97% 0.2 311.5) |
| XYZ | xyz(49.9004, 33.8107, 97.6441) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.50
Easter Purple
#C071FE
ΔE00 3.07
Liliac
#C48EFD
ΔE00 5.14
Light Urple
#B36FF6
ΔE00 5.24
Bright Lavender
#C760FF
ΔE00 5.30
Bright Lilac
#C95EFB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79FE #AAFE79
analogous
#8A79FE #CD79FE #FE79EC
triadic
#CD79FE #FECD79 #79FECD
tetradic
#CD79FE #FE8A79 #AAFE79 #79ECFE
square
#CD79FE #FE8A79 #AAFE79 #79ECFE
split-complementary
#CD79FE #ECFE79 #79FE8A
monochromatic
#9F02FB #B63CFE #CD79FE #E4B6FE #F4E1FF
Accessibility & contrast
On white
2.71
#CD79FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CD79FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79FE
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79FE | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5599FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#C88FB0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd79fe; /* rgb */ color: rgb(205, 121, 254); /* oklch */ color: oklch(72.0% 0.200 311.5);
Tailwind
colors: {
custom: {
50: '#dfa2ff',
500: '#cd79fe',
950: '#000000',
},
}SCSS
$custom: #cd79fe; $custom-light: #dfa2ff; $custom-dark: #000000;
JSON
{
"hex": "#cd79fe",
"rgb": {
"r": 205,
"g": 121,
"b": 254
},
"hsl": {
"h": 277.895,
"s": 98.519,
"l": 73.529
},
"oklch": {
"l": 0.71972,
"c": 0.20009,
"h": 311.5
},
"luminance": 0.3381
}Semantic roles & 50–950 ramp
primary
#CD79FE
secondary
#E1F7D4
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86