#CD7EFD#CD7EFD
#CD7EFD is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.191 H 311.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EFD |
|---|---|
| RGB | rgb(205, 126, 253) |
| HSL | hsl(277, 97%, 74%) |
| HSV | hsv(277, 50%, 99%) |
| CMYK | cmyk(19%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.74, 52.26, -51.51) |
| CIE-LCH | lch(65.74, 73.38, 315.41°) |
| OKLab | oklab(72.65% 0.1261 -0.1439) |
| OKLCH | oklch(72.65% 0.191 311.2) |
| XYZ | xyz(50.3641, 34.9937, 97.0108) |
| Luminance | 0.3499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.96
Easter Purple
#C071FE
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 5.89
Bright Lavender
#C760FF
ΔE00 6.37
Bright Lilac
#C95EFB
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EFD #AEFD7E
analogous
#8E7EFD #CD7EFD #FD7EEE
triadic
#CD7EFD #FDCD7E #7EFDCD
tetradic
#CD7EFD #FD8E7E #AEFD7E #7EEEFD
square
#CD7EFD #FD8E7E #AEFD7E #7EEEFD
split-complementary
#CD7EFD #EEFD7E #7EFD8E
monochromatic
#9E05FB #B642FC #CD7EFD #E4BAFE #F3E1FF
Accessibility & contrast
On white
2.63
#CD7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#CD7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EFD
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EFD | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#76A1FA
Tritanopia (blue-blind)
#C893B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd7efd; /* rgb */ color: rgb(205, 126, 253); /* oklch */ color: oklch(72.6% 0.191 311.2);
Tailwind
colors: {
custom: {
50: '#dfa6fe',
500: '#cd7efd',
950: '#000000',
},
}SCSS
$custom: #cd7efd; $custom-light: #dfa6fe; $custom-dark: #000000;
JSON
{
"hex": "#cd7efd",
"rgb": {
"r": 205,
"g": 126,
"b": 253
},
"hsl": {
"h": 277.323,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72645,
"c": 0.19133,
"h": 311.2
},
"luminance": 0.34993
}Semantic roles & 50–950 ramp
primary
#CD7EFD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86