#CD7FE3#CD7FE3
#CD7FE3 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.162 H 318.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE3 |
|---|---|
| RGB | rgb(205, 127, 227) |
| HSL | hsl(287, 64%, 69%) |
| HSV | hsv(287, 44%, 89%) |
| CMYK | cmyk(9.7%, 44.1%, 0%, 11%) |
| CIE-LAB | lab(64.73, 46.38, -38.77) |
| CIE-LCH | lch(64.73, 60.45, 320.10°) |
| OKLab | oklab(71.49% 0.1212 -0.107) |
| OKLCH | oklch(71.49% 0.162 318.6) |
| XYZ | xyz(46.6295, 33.7054, 76.7077) |
| Luminance | 0.3370 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.69
Lavender Pink
#DD85D7
ΔE00 5.18
Light Purple
#BF77F6
ΔE00 5.52
Violet (CSS)
#EE82EE
ΔE00 5.65
Orchid (survey)
#C875C4
ΔE00 5.76
Purply Pink
#F075E6
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE3 #95E37F
analogous
#9B7FE3 #CD7FE3 #E37FC7
triadic
#CD7FE3 #E3CD7F #7FE3CD
tetradic
#CD7FE3 #E39B7F #95E37F #7FC7E3
square
#CD7FE3 #E39B7F #95E37F #7FC7E3
split-complementary
#CD7FE3 #C7E37F #7FE39B
monochromatic
#9D2ABE #B94DD8 #CD7FE3 #E1B1EE #F4E3F9
Accessibility & contrast
On white
2.71
#CD7FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#CD7FE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE3
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE3 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F98E7
Deuteranopia (green-blind)
#84A0E0
Tritanopia (blue-blind)
#CD8CA6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7fe3; /* rgb */ color: rgb(205, 127, 227); /* oklch */ color: oklch(71.5% 0.162 318.6);
Tailwind
colors: {
custom: {
50: '#dea6ec',
500: '#cd7fe3',
950: '#000000',
},
}SCSS
$custom: #cd7fe3; $custom-light: #dea6ec; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe3",
"rgb": {
"r": 205,
"g": 127,
"b": 227
},
"hsl": {
"h": 286.8,
"s": 64.103,
"l": 69.412
},
"oklch": {
"l": 0.71492,
"c": 0.16174,
"h": 318.6
},
"luminance": 0.33704
}Semantic roles & 50–950 ramp
primary
#CD7FE3
secondary
#D7EDD0
accent
#CC1A41
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84