#CD7DF0#CD7DF0
#CD7DF0 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.8% C 0.179 H 314.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DF0 |
|---|---|
| RGB | rgb(205, 125, 240) |
| HSL | hsl(282, 79%, 72%) |
| HSV | hsv(282, 48%, 94%) |
| CMYK | cmyk(14.6%, 47.9%, 0%, 5.9%) |
| CIE-LAB | lab(64.91, 50.06, -45.68) |
| CIE-LCH | lch(64.91, 67.76, 317.62°) |
| OKLab | oklab(71.82% 0.126 -0.127) |
| OKLCH | oklch(71.82% 0.179 314.8) |
| XYZ | xyz(48.2361, 33.9389, 86.4311) |
| Luminance | 0.3394 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.56
Easter Purple
#C071FE
ΔE00 4.86
Liliac
#C48EFD
ΔE00 5.04
Orchid
#DA70D6
ΔE00 6.15
Light Urple
#B36FF6
ΔE00 6.46
Violet (CSS)
#EE82EE
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DF0 #A0F07D
analogous
#947DF0 #CD7DF0 #F07DDA
triadic
#CD7DF0 #F0CD7D #7DF0CD
tetradic
#CD7DF0 #F0947D #A0F07D #7DDAF0
square
#CD7DF0 #F0947D #A0F07D #7DDAF0
split-complementary
#CD7DF0 #DAF07D #7DF094
monochromatic
#9F19DA #B846EA #CD7DF0 #E2B4F6 #F4E4FC
Accessibility & contrast
On white
2.70
#CD7DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CD7DF0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DF0
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DF0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DF0 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#7CA0ED
Tritanopia (blue-blind)
#CB8EAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7df0; /* rgb */ color: rgb(205, 125, 240); /* oklch */ color: oklch(71.8% 0.179 314.8);
Tailwind
colors: {
custom: {
50: '#dea5f5',
500: '#cd7df0',
950: '#000000',
},
}SCSS
$custom: #cd7df0; $custom-light: #dea5f5; $custom-dark: #000000;
JSON
{
"hex": "#cd7df0",
"rgb": {
"r": 205,
"g": 125,
"b": 240
},
"hsl": {
"h": 281.739,
"s": 79.31,
"l": 71.569
},
"oklch": {
"l": 0.71824,
"c": 0.17884,
"h": 314.8
},
"luminance": 0.33938
}Semantic roles & 50–950 ramp
primary
#CD7DF0
secondary
#DFF3D6
accent
#DC0A4A
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85