#CD7EF6#CD7EF6
#CD7EF6 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.184 H 313.0°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EF6 |
|---|---|
| RGB | rgb(205, 126, 246) |
| HSL | hsl(280, 87%, 73%) |
| HSV | hsv(280, 49%, 96%) |
| CMYK | cmyk(16.7%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(65.40, 50.78, -48.21) |
| CIE-LCH | lch(65.40, 70.02, 316.49°) |
| OKLab | oklab(72.28% 0.1253 -0.1343) |
| OKLCH | oklch(72.28% 0.184 313) |
| XYZ | xyz(49.2694, 34.5558, 91.2454) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.18
Easter Purple
#C071FE
ΔE00 4.39
Liliac
#C48EFD
ΔE00 4.43
Light Urple
#B36FF6
ΔE00 6.18
Bright Lavender
#C760FF
ΔE00 6.64
Bright Lilac
#C95EFB
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EF6 #A7F67E
analogous
#917EF6 #CD7EF6 #F67EE3
triadic
#CD7EF6 #F6CD7E #7EF6CD
tetradic
#CD7EF6 #F6917E #A7F67E #7EE3F6
square
#CD7EF6 #F6917E #A7F67E #7EE3F6
split-complementary
#CD7EF6 #E3F67E #7EF691
monochromatic
#9F10E9 #B745F2 #CD7EF6 #E3B7FA #F4E2FD
Accessibility & contrast
On white
2.65
#CD7EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CD7EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EF6
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EF6 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639AFA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#C991AF
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7ef6; /* rgb */ color: rgb(205, 126, 246); /* oklch */ color: oklch(72.3% 0.184 313.0);
Tailwind
colors: {
custom: {
50: '#dea5f9',
500: '#cd7ef6',
950: '#000000',
},
}SCSS
$custom: #cd7ef6; $custom-light: #dea5f9; $custom-dark: #000000;
JSON
{
"hex": "#cd7ef6",
"rgb": {
"r": 205,
"g": 126,
"b": 246
},
"hsl": {
"h": 279.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.72279,
"c": 0.18372,
"h": 313
},
"luminance": 0.34555
}Semantic roles & 50–950 ramp
primary
#CD7EF6
secondary
#E1F5D6
accent
#E4024F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85