#CD7CF2#CD7CF2
#CD7CF2 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.183 H 314.3°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF2 |
|---|---|
| RGB | rgb(205, 124, 242) |
| HSL | hsl(281, 82%, 72%) |
| HSV | hsv(281, 49%, 95%) |
| CMYK | cmyk(15.3%, 48.8%, 0%, 5.1%) |
| CIE-LAB | lab(64.81, 50.99, -46.94) |
| CIE-LCH | lch(64.81, 69.31, 317.36°) |
| OKLab | oklab(71.78% 0.1276 -0.1306) |
| OKLCH | oklch(71.78% 0.183 314.3) |
| XYZ | xyz(48.4089, 33.8065, 87.9624) |
| Luminance | 0.3381 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.26
Easter Purple
#C071FE
ΔE00 4.48
Liliac
#C48EFD
ΔE00 5.05
Light Urple
#B36FF6
ΔE00 6.17
Orchid
#DA70D6
ΔE00 6.36
Bright Lavender
#C760FF
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF2 #A1F27C
analogous
#927CF2 #CD7CF2 #F27CDC
triadic
#CD7CF2 #F2CD7C #7CF2CD
tetradic
#CD7CF2 #F2927C #A1F27C #7CDCF2
square
#CD7CF2 #F2927C #A1F27C #7CDCF2
split-complementary
#CD7CF2 #DCF27C #7CF292
monochromatic
#9F16DE #B844EC #CD7CF2 #E2B4F8 #F4E3FC
Accessibility & contrast
On white
2.71
#CD7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CD7CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF2
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF2 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6299F6
Deuteranopia (green-blind)
#7A9FEF
Tritanopia (blue-blind)
#CA8EAC
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7cf2; /* rgb */ color: rgb(205, 124, 242); /* oklch */ color: oklch(71.8% 0.183 314.3);
Tailwind
colors: {
custom: {
50: '#dea4f7',
500: '#cd7cf2',
950: '#000000',
},
}SCSS
$custom: #cd7cf2; $custom-light: #dea4f7; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf2",
"rgb": {
"r": 205,
"g": 124,
"b": 242
},
"hsl": {
"h": 281.186,
"s": 81.944,
"l": 71.765
},
"oklch": {
"l": 0.71777,
"c": 0.18257,
"h": 314.3
},
"luminance": 0.33805
}Semantic roles & 50–950 ramp
primary
#CD7CF2
secondary
#DFF4D6
accent
#DE074B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85