#CD79FD#CD79FD
#CD79FD is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.199 H 311.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79FD |
|---|---|
| RGB | rgb(205, 121, 253) |
| HSL | hsl(278, 97%, 73%) |
| HSV | hsv(278, 52%, 99%) |
| CMYK | cmyk(19%, 52.2%, 0%, 0.8%) |
| CIE-LAB | lab(64.76, 54.82, -53.07) |
| CIE-LCH | lch(64.76, 76.30, 315.93°) |
| OKLab | oklab(71.92% 0.1326 -0.1484) |
| OKLCH | oklch(71.92% 0.199 311.8) |
| XYZ | xyz(49.7407, 33.7468, 96.8030) |
| Luminance | 0.3375 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.49
Easter Purple
#C071FE
ΔE00 3.12
Liliac
#C48EFD
ΔE00 5.15
Light Urple
#B36FF6
ΔE00 5.26
Bright Lavender
#C760FF
ΔE00 5.32
Bright Lilac
#C95EFB
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79FD #A9FD79
analogous
#8B79FD #CD79FD #FD79EB
triadic
#CD79FD #FDCD79 #79FDCD
tetradic
#CD79FD #FD8B79 #A9FD79 #79EBFD
square
#CD79FD #FD8B79 #A9FD79 #79EBFD
split-complementary
#CD79FD #EBFD79 #79FD8B
monochromatic
#9F04F8 #B73DFC #CD79FD #E3B5FE #F4E1FF
Accessibility & contrast
On white
2.71
#CD79FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.75
#CD79FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79FD
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79FD | 1.00 | 2.71 | 7.75 | 7.75 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C88FB0
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd79fd; /* rgb */ color: rgb(205, 121, 253); /* oklch */ color: oklch(71.9% 0.199 311.8);
Tailwind
colors: {
custom: {
50: '#dfa2fe',
500: '#cd79fd',
950: '#000000',
},
}SCSS
$custom: #cd79fd; $custom-light: #dfa2fe; $custom-dark: #000000;
JSON
{
"hex": "#cd79fd",
"rgb": {
"r": 205,
"g": 121,
"b": 253
},
"hsl": {
"h": 278.182,
"s": 97.059,
"l": 73.333
},
"oklch": {
"l": 0.71918,
"c": 0.19903,
"h": 311.8
},
"luminance": 0.33746
}Semantic roles & 50–950 ramp
primary
#CD79FD
secondary
#E1F7D4
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86