#CD7CF5#CD7CF5
#CD7CF5 is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.186 H 313.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF5 |
|---|---|
| RGB | rgb(205, 124, 245) |
| HSL | hsl(280, 86%, 72%) |
| HSV | hsv(280, 49%, 96%) |
| CMYK | cmyk(16.3%, 49.4%, 0%, 3.9%) |
| CIE-LAB | lab(64.95, 51.61, -48.37) |
| CIE-LCH | lch(64.95, 70.73, 316.86°) |
| OKLab | oklab(71.93% 0.1279 -0.1348) |
| OKLCH | oklch(71.93% 0.186 313.5) |
| XYZ | xyz(48.8632, 33.9882, 90.3549) |
| Luminance | 0.3399 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.01
Easter Purple
#C071FE
ΔE00 4.17
Liliac
#C48EFD
ΔE00 4.86
Light Urple
#B36FF6
ΔE00 5.96
Bright Lavender
#C760FF
ΔE00 6.27
Bright Lilac
#C95EFB
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF5 #A4F57C
analogous
#907CF5 #CD7CF5 #F57CE1
triadic
#CD7CF5 #F5CD7C #7CF5CD
tetradic
#CD7CF5 #F5907C #A4F57C #7CE1F5
square
#CD7CF5 #F5907C #A4F57C #7CE1F5
split-complementary
#CD7CF5 #E1F57C #7CF590
monochromatic
#9F11E5 #B743F1 #CD7CF5 #E3B5F9 #F4E3FD
Accessibility & contrast
On white
2.69
#CD7CF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.80
#CD7CF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF5
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF5 | 1.00 | 2.69 | 7.80 | 7.80 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6099F9
Deuteranopia (green-blind)
#79A0F2
Tritanopia (blue-blind)
#CA8FAD
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7cf5; /* rgb */ color: rgb(205, 124, 245); /* oklch */ color: oklch(71.9% 0.186 313.5);
Tailwind
colors: {
custom: {
50: '#dea4f9',
500: '#cd7cf5',
950: '#000000',
},
}SCSS
$custom: #cd7cf5; $custom-light: #dea4f9; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf5",
"rgb": {
"r": 205,
"g": 124,
"b": 245
},
"hsl": {
"h": 280.165,
"s": 85.816,
"l": 72.353
},
"oklch": {
"l": 0.71931,
"c": 0.18579,
"h": 313.5
},
"luminance": 0.33987
}Semantic roles & 50–950 ramp
primary
#CD7CF5
secondary
#E0F5D6
accent
#E2034D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85