#CD7CF6#CD7CF6
#CD7CF6 is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.187 H 313.2°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF6 |
|---|---|
| RGB | rgb(205, 124, 246) |
| HSL | hsl(280, 87%, 73%) |
| HSV | hsv(280, 50%, 96%) |
| CMYK | cmyk(16.7%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(65.00, 51.82, -48.84) |
| CIE-LCH | lch(65.00, 71.21, 316.69°) |
| OKLab | oklab(71.98% 0.128 -0.1361) |
| OKLCH | oklch(71.98% 0.187 313.2) |
| XYZ | xyz(49.0162, 34.0494, 91.1610) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.95
Easter Purple
#C071FE
ΔE00 4.08
Liliac
#C48EFD
ΔE00 4.80
Light Urple
#B36FF6
ΔE00 5.91
Bright Lavender
#C760FF
ΔE00 6.21
Bright Lilac
#C95EFB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF6 #A5F67C
analogous
#907CF6 #CD7CF6 #F67CE2
triadic
#CD7CF6 #F6CD7C #7CF6CD
tetradic
#CD7CF6 #F6907C #A5F67C #7CE2F6
square
#CD7CF6 #F6907C #A5F67C #7CE2F6
split-complementary
#CD7CF6 #E2F67C #7CF690
monochromatic
#9F10E8 #B743F2 #CD7CF6 #E3B5FA #F4E2FD
Accessibility & contrast
On white
2.69
#CD7CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CD7CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF6
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF6 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6099FA
Deuteranopia (green-blind)
#78A0F3
Tritanopia (blue-blind)
#C98FAE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7cf6; /* rgb */ color: rgb(205, 124, 246); /* oklch */ color: oklch(72.0% 0.187 313.2);
Tailwind
colors: {
custom: {
50: '#dea4f9',
500: '#cd7cf6',
950: '#000000',
},
}SCSS
$custom: #cd7cf6; $custom-light: #dea4f9; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf6",
"rgb": {
"r": 205,
"g": 124,
"b": 246
},
"hsl": {
"h": 279.836,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.71983,
"c": 0.18687,
"h": 313.2
},
"luminance": 0.34048
}Semantic roles & 50–950 ramp
primary
#CD7CF6
secondary
#E0F5D6
accent
#E4024E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85