#CD79FC#CD79FC
#CD79FC is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.9% C 0.198 H 312.0°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CD79FC |
|---|---|
| RGB | rgb(205, 121, 252) |
| HSL | hsl(278, 96%, 73%) |
| HSV | hsv(278, 52%, 99%) |
| CMYK | cmyk(18.7%, 52%, 0%, 1.2%) |
| CIE-LAB | lab(64.71, 54.61, -52.60) |
| CIE-LCH | lch(64.71, 75.82, 316.07°) |
| OKLab | oklab(71.86% 0.1325 -0.1471) |
| OKLCH | oklch(71.86% 0.198 312) |
| XYZ | xyz(49.5818, 33.6833, 95.9662) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.49
Easter Purple
#C071FE
ΔE00 3.18
Liliac
#C48EFD
ΔE00 5.17
Light Urple
#B36FF6
ΔE00 5.28
Bright Lavender
#C760FF
ΔE00 5.34
Bright Lilac
#C95EFB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD79FC #A8FC79
analogous
#8B79FC #CD79FC #FC79EA
triadic
#CD79FC #FCCD79 #79FCCD
tetradic
#CD79FC #FC8B79 #A8FC79 #79EAFC
square
#CD79FC #FC8B79 #A8FC79 #79EAFC
split-complementary
#CD79FC #EAFC79 #79FC8B
monochromatic
#9F05F5 #B73DFB #CD79FC #E3B5FD #F4E1FE
Accessibility & contrast
On white
2.71
#CD79FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#CD79FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD79FC
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD79FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD79FC | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C88FAF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd79fc; /* rgb */ color: rgb(205, 121, 252); /* oklch */ color: oklch(71.9% 0.198 312.0);
Tailwind
colors: {
custom: {
50: '#dfa2fe',
500: '#cd79fc',
950: '#000000',
},
}SCSS
$custom: #cd79fc; $custom-light: #dfa2fe; $custom-dark: #000000;
JSON
{
"hex": "#cd79fc",
"rgb": {
"r": 205,
"g": 121,
"b": 252
},
"hsl": {
"h": 278.473,
"s": 95.62,
"l": 73.137
},
"oklch": {
"l": 0.71864,
"c": 0.19796,
"h": 312
},
"luminance": 0.33682
}Semantic roles & 50–950 ramp
primary
#CD79FC
secondary
#E1F7D4
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86