#CD7FE1#CD7FE1
#CD7FE1 is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.4% C 0.160 H 319.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FE1 |
|---|---|
| RGB | rgb(205, 127, 225) |
| HSL | hsl(288, 62%, 69%) |
| HSV | hsv(288, 44%, 88%) |
| CMYK | cmyk(8.9%, 43.6%, 0%, 11.8%) |
| CIE-LAB | lab(64.64, 45.98, -37.80) |
| CIE-LCH | lch(64.64, 59.53, 320.58°) |
| OKLab | oklab(71.4% 0.1209 -0.1042) |
| OKLCH | oklch(71.4% 0.16 319.2) |
| XYZ | xyz(46.3550, 33.5957, 75.2624) |
| Luminance | 0.3359 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.49
Lavender Pink
#DD85D7
ΔE00 4.90
Orchid (survey)
#C875C4
ΔE00 5.43
Violet (CSS)
#EE82EE
ΔE00 5.61
Light Purple
#BF77F6
ΔE00 5.84
Purply Pink
#F075E6
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FE1 #93E17F
analogous
#9C7FE1 #CD7FE1 #E17FC4
triadic
#CD7FE1 #E1CD7F #7FE1CD
tetradic
#CD7FE1 #E19C7F #93E17F #7FC4E1
square
#CD7FE1 #E19C7F #93E17F #7FC4E1
split-complementary
#CD7FE1 #C4E17F #7FE19C
monochromatic
#9D2CBA #BA4DD5 #CD7FE1 #E0B1ED #F4E2F8
Accessibility & contrast
On white
2.72
#CD7FE1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#CD7FE1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FE1
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FE1 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7097E4
Deuteranopia (green-blind)
#85A0DE
Tritanopia (blue-blind)
#CE8CA5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7fe1; /* rgb */ color: rgb(205, 127, 225); /* oklch */ color: oklch(71.4% 0.160 319.2);
Tailwind
colors: {
custom: {
50: '#dea6ea',
500: '#cd7fe1',
950: '#000000',
},
}SCSS
$custom: #cd7fe1; $custom-light: #dea6ea; $custom-dark: #000000;
JSON
{
"hex": "#cd7fe1",
"rgb": {
"r": 205,
"g": 127,
"b": 225
},
"hsl": {
"h": 287.755,
"s": 62.025,
"l": 69.02
},
"oklch": {
"l": 0.71397,
"c": 0.15963,
"h": 319.2
},
"luminance": 0.33594
}Semantic roles & 50–950 ramp
primary
#CD7FE1
secondary
#D5ECD0
accent
#CA1C3F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84