#CD7FD2#CD7FD2
#CD7FD2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.7% C 0.144 H 324.8°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FD2 |
|---|---|
| RGB | rgb(205, 127, 210) |
| HSL | hsl(296, 48%, 66%) |
| HSV | hsv(296, 40%, 82%) |
| CMYK | cmyk(2.4%, 39.5%, 0%, 17.6%) |
| CIE-LAB | lab(64.01, 43.09, -30.42) |
| CIE-LCH | lch(64.01, 52.74, 324.78°) |
| OKLab | oklab(70.72% 0.1179 -0.0831) |
| OKLCH | oklch(70.72% 0.144 324.8) |
| XYZ | xyz(44.3980, 32.8128, 64.9551) |
| Luminance | 0.3281 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 3.17
Lavender Pink
#DD85D7
ΔE00 3.26
Orchid
#DA70D6
ΔE00 3.89
Purply Pink
#F075E6
ΔE00 6.11
Violet (CSS)
#EE82EE
ΔE00 6.11
Pale Purple
#B790D4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FD2 #84D27F
analogous
#A37FD2 #CD7FD2 #D27FAD
triadic
#CD7FD2 #D2CD7F #7FD2CD
tetradic
#CD7FD2 #D2A37F #84D27F #7FADD2
square
#CD7FD2 #D2A37F #84D27F #7FADD2
split-complementary
#CD7FD2 #ADD27F #7FD2A3
monochromatic
#99389F #BB52C2 #CD7FD2 #DFACE2 #F0DAF2
Accessibility & contrast
On white
2.78
#CD7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.56
#CD7FD2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FD2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FD2 | 1.00 | 2.78 | 7.56 | 7.56 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7795D5
Deuteranopia (green-blind)
#8B9ECF
Tritanopia (blue-blind)
#D1889F
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #cd7fd2; /* rgb */ color: rgb(205, 127, 210); /* oklch */ color: oklch(70.7% 0.144 324.8);
Tailwind
colors: {
custom: {
50: '#dea6e0',
500: '#cd7fd2',
950: '#000000',
},
}SCSS
$custom: #cd7fd2; $custom-light: #dea6e0; $custom-dark: #000000;
JSON
{
"hex": "#cd7fd2",
"rgb": {
"r": 205,
"g": 127,
"b": 210
},
"hsl": {
"h": 296.386,
"s": 47.977,
"l": 66.078
},
"oklch": {
"l": 0.70717,
"c": 0.14429,
"h": 324.8
},
"luminance": 0.32811
}Semantic roles & 50–950 ramp
primary
#CD7FD2
secondary
#CAE4C9
accent
#BB2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83