#CD7CF7#CD7CF7
#CD7CF7 is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.188 H 313.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF7 |
|---|---|
| RGB | rgb(205, 124, 247) |
| HSL | hsl(280, 88%, 73%) |
| HSV | hsv(280, 50%, 97%) |
| CMYK | cmyk(17%, 49.8%, 0%, 3.1%) |
| CIE-LAB | lab(65.05, 52.03, -49.32) |
| CIE-LCH | lch(65.05, 71.68, 316.53°) |
| OKLab | oklab(72.04% 0.1281 -0.1375) |
| OKLCH | oklch(72.04% 0.188 313) |
| XYZ | xyz(49.1701, 34.1110, 91.9715) |
| Luminance | 0.3411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.89
Easter Purple
#C071FE
ΔE00 3.99
Liliac
#C48EFD
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 5.85
Bright Lavender
#C760FF
ΔE00 6.16
Bright Lilac
#C95EFB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF7 #A6F77C
analogous
#8F7CF7 #CD7CF7 #F77CE4
triadic
#CD7CF7 #F7CD7C #7CF7CD
tetradic
#CD7CF7 #F78F7C #A6F77C #7CE4F7
square
#CD7CF7 #F78F7C #A6F77C #7CE4F7
split-complementary
#CD7CF7 #E4F77C #7CF78F
monochromatic
#9F0EEA #B742F3 #CD7CF7 #E3B6FB #F4E2FD
Accessibility & contrast
On white
2.68
#CD7CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CD7CF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF7
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF7 | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 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)
#5F99FB
Deuteranopia (green-blind)
#77A0F4
Tritanopia (blue-blind)
#C990AE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7cf7; /* rgb */ color: rgb(205, 124, 247); /* oklch */ color: oklch(72.0% 0.188 313.0);
Tailwind
colors: {
custom: {
50: '#dfa4fa',
500: '#cd7cf7',
950: '#000000',
},
}SCSS
$custom: #cd7cf7; $custom-light: #dfa4fa; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf7",
"rgb": {
"r": 205,
"g": 124,
"b": 247
},
"hsl": {
"h": 279.512,
"s": 88.489,
"l": 72.745
},
"oklch": {
"l": 0.72035,
"c": 0.18794,
"h": 313
},
"luminance": 0.3411
}Semantic roles & 50–950 ramp
primary
#CD7CF7
secondary
#E0F5D6
accent
#E5004E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85