#CD7CF8#CD7CF8
#CD7CF8 is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.189 H 312.7°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CF8 |
|---|---|
| RGB | rgb(205, 124, 248) |
| HSL | hsl(279, 90%, 73%) |
| HSV | hsv(279, 50%, 97%) |
| CMYK | cmyk(17.3%, 50%, 0%, 2.7%) |
| CIE-LAB | lab(65.10, 52.24, -49.79) |
| CIE-LCH | lch(65.10, 72.16, 316.37°) |
| OKLab | oklab(72.09% 0.1282 -0.1389) |
| OKLCH | oklch(72.09% 0.189 312.7) |
| XYZ | xyz(49.3249, 34.1729, 92.7864) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.84
Easter Purple
#C071FE
ΔE00 3.90
Liliac
#C48EFD
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.80
Bright Lavender
#C760FF
ΔE00 6.11
Bright Lilac
#C95EFB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CF8 #A7F87C
analogous
#8F7CF8 #CD7CF8 #F87CE5
triadic
#CD7CF8 #F8CD7C #7CF8CD
tetradic
#CD7CF8 #F88F7C #A7F87C #7CE5F8
square
#CD7CF8 #F88F7C #A7F87C #7CE5F8
split-complementary
#CD7CF8 #E5F87C #7CF88F
monochromatic
#9F0DED #B742F5 #CD7CF8 #E3B6FB #F4E2FD
Accessibility & contrast
On white
2.68
#CD7CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CD7CF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CF8
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CF8 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9AFC
Deuteranopia (green-blind)
#77A0F5
Tritanopia (blue-blind)
#C990AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7cf8; /* rgb */ color: rgb(205, 124, 248); /* oklch */ color: oklch(72.1% 0.189 312.7);
Tailwind
colors: {
custom: {
50: '#dfa4fb',
500: '#cd7cf8',
950: '#000000',
},
}SCSS
$custom: #cd7cf8; $custom-light: #dfa4fb; $custom-dark: #000000;
JSON
{
"hex": "#cd7cf8",
"rgb": {
"r": 205,
"g": 124,
"b": 248
},
"hsl": {
"h": 279.194,
"s": 89.855,
"l": 72.941
},
"oklch": {
"l": 0.72087,
"c": 0.18903,
"h": 312.7
},
"luminance": 0.34172
}Semantic roles & 50–950 ramp
primary
#CD7CF8
secondary
#E1F6D5
accent
#E60050
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85