#CD7CD6#CD7CD6
#CD7CD6 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.153 H 323.4°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CD6 |
|---|---|
| RGB | rgb(205, 124, 214) |
| HSL | hsl(294, 52%, 66%) |
| HSV | hsv(294, 42%, 84%) |
| CMYK | cmyk(4.2%, 42.1%, 0%, 16.1%) |
| CIE-LAB | lab(63.55, 45.42, -33.37) |
| CIE-LCH | lch(63.55, 56.36, 323.70°) |
| OKLab | oklab(70.43% 0.1231 -0.0915) |
| OKLCH | oklch(70.43% 0.153 323.4) |
| XYZ | xyz(44.5208, 32.2513, 67.4853) |
| Luminance | 0.3225 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.29
Orchid (survey)
#C875C4
ΔE00 3.42
Lavender Pink
#DD85D7
ΔE00 3.98
Purply Pink
#F075E6
ΔE00 5.80
Violet (CSS)
#EE82EE
ΔE00 5.95
Pale Purple
#B790D4
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CD6 #85D67C
analogous
#A07CD6 #CD7CD6 #D67CB2
triadic
#CD7CD6 #D6CD7C #7CD6CD
tetradic
#CD7CD6 #D6A07C #85D67C #7CB2D6
square
#CD7CD6 #D6A07C #85D67C #7CB2D6
split-complementary
#CD7CD6 #B2D67C #7CD6A0
monochromatic
#9933A4 #BB4DC7 #CD7CD6 #DFABE5 #F1D9F3
Accessibility & contrast
On white
2.82
#CD7CD6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.45
#CD7CD6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CD6
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CD6 | 1.00 | 2.82 | 7.45 | 7.45 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7294D9
Deuteranopia (green-blind)
#889DD3
Tritanopia (blue-blind)
#D0869F
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd7cd6; /* rgb */ color: rgb(205, 124, 214); /* oklch */ color: oklch(70.4% 0.153 323.4);
Tailwind
colors: {
custom: {
50: '#dea4e3',
500: '#cd7cd6',
950: '#000000',
},
}SCSS
$custom: #cd7cd6; $custom-light: #dea4e3; $custom-dark: #000000;
JSON
{
"hex": "#cd7cd6",
"rgb": {
"r": 205,
"g": 124,
"b": 214
},
"hsl": {
"h": 294,
"s": 52.326,
"l": 66.275
},
"oklch": {
"l": 0.70427,
"c": 0.15342,
"h": 323.4
},
"luminance": 0.32249
}Semantic roles & 50–950 ramp
primary
#CD7CD6
secondary
#CBE6C8
accent
#C02635
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83