#CD7FC4#CD7FC4
#CD7FC4 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.131 H 331.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FC4 |
|---|---|
| RGB | rgb(205, 127, 196) |
| HSL | hsl(307, 44%, 65%) |
| HSV | hsv(307, 38%, 80%) |
| CMYK | cmyk(0%, 38%, 4.4%, 19.6%) |
| CIE-LAB | lab(63.46, 40.52, -23.40) |
| CIE-LCH | lch(63.46, 46.79, 330.00°) |
| OKLab | oklab(70.13% 0.1146 -0.0633) |
| OKLCH | oklch(70.13% 0.131 331.1) |
| XYZ | xyz(42.7295, 32.1455, 56.1678) |
| Luminance | 0.3214 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Orchid (survey)
#C875C4
ΔE00 2.97
Lavender Pink
#DD85D7
ΔE00 3.84
Orchid
#DA70D6
ΔE00 5.32
Pale Magenta
#D767AD
ΔE00 6.87
Purply Pink
#F075E6
ΔE00 7.45
Violet (CSS)
#EE82EE
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FC4 #7FCD88
analogous
#AF7FCD #CD7FC4 #CD7F9D
triadic
#CD7FC4 #C4CD7F #7FC4CD
tetradic
#CD7FC4 #CDAF7F #7FCD88 #7F9DCD
square
#CD7FC4 #CDAF7F #7FCD88 #7F9DCD
split-complementary
#CD7FC4 #9DCD7F #7FCDAF
monochromatic
#973B8C #BC53B0 #CD7FC4 #DEABD8 #EFD7ED
Accessibility & contrast
On white
2.83
#CD7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#CD7FC4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FC4
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FC4 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C93C7
Deuteranopia (green-blind)
#919EC2
Tritanopia (blue-blind)
#D38499
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #cd7fc4; /* rgb */ color: rgb(205, 127, 196); /* oklch */ color: oklch(70.1% 0.131 331.1);
Tailwind
colors: {
custom: {
50: '#dda6d6',
500: '#cd7fc4',
950: '#000000',
},
}SCSS
$custom: #cd7fc4; $custom-light: #dda6d6; $custom-dark: #000000;
JSON
{
"hex": "#cd7fc4",
"rgb": {
"r": 205,
"g": 127,
"b": 196
},
"hsl": {
"h": 306.923,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.70127,
"c": 0.13093,
"h": 331.1
},
"luminance": 0.32143
}Semantic roles & 50–950 ramp
primary
#CD7FC4
secondary
#C7E1CA
accent
#B73E2F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83