#CD7EF7#CD7EF7
#CD7EF7 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.185 H 312.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF7 |
|---|---|
| RGB | rgb(205, 126, 247) |
| HSL | hsl(279, 88%, 73%) |
| HSV | hsv(279, 49%, 97%) |
| CMYK | cmyk(17%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(65.45, 50.99, -48.69) |
| CIE-LCH | lch(65.45, 70.50, 316.33°) |
| OKLab | oklab(72.33% 0.1255 -0.1357) |
| OKLCH | oklch(72.33% 0.185 312.8) |
| XYZ | xyz(49.4233, 34.6174, 92.0559) |
| Luminance | 0.3462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.12
Easter Purple
#C071FE
ΔE00 4.31
Liliac
#C48EFD
ΔE00 4.38
Light Urple
#B36FF6
ΔE00 6.12
Bright Lavender
#C760FF
ΔE00 6.59
Bright Lilac
#C95EFB
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF7 #A8F77E
analogous
#907EF7 #CD7EF7 #F77EE4
triadic
#CD7EF7 #F7CD7E #7EF7CD
tetradic
#CD7EF7 #F7907E #A8F77E #7EE4F7
square
#CD7EF7 #F7907E #A8F77E #7EE4F7
split-complementary
#CD7EF7 #E4F77E #7EF790
monochromatic
#9F0FEC #B744F3 #CD7EF7 #E3B8FB #F4E2FD
Accessibility & contrast
On white
2.65
#CD7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#CD7EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF7
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF7 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#C991AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7ef7; /* rgb */ color: rgb(205, 126, 247); /* oklch */ color: oklch(72.3% 0.185 312.8);
Tailwind
colors: {
custom: {
50: '#dea5fa',
500: '#cd7ef7',
950: '#000000',
},
}SCSS
$custom: #cd7ef7; $custom-light: #dea5fa; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef7",
"rgb": {
"r": 205,
"g": 126,
"b": 247
},
"hsl": {
"h": 279.174,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.72331,
"c": 0.1848,
"h": 312.8
},
"luminance": 0.34616
}Semantic roles & 50–950 ramp
primary
#CD7EF7
secondary
#E1F5D6
accent
#E50150
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85