#CD7CFD#CD7CFD
#CD7CFD is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.194 H 311.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7CFD |
|---|---|
| RGB | rgb(205, 124, 253) |
| HSL | hsl(278, 97%, 74%) |
| HSV | hsv(278, 51%, 99%) |
| CMYK | cmyk(19%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(65.35, 53.29, -52.14) |
| CIE-LCH | lch(65.35, 74.55, 315.63°) |
| OKLab | oklab(72.35% 0.1287 -0.1457) |
| OKLCH | oklch(72.35% 0.194 311.4) |
| XYZ | xyz(50.1109, 34.4873, 96.9264) |
| Luminance | 0.3449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.73
Easter Purple
#C071FE
ΔE00 3.58
Liliac
#C48EFD
ΔE00 4.56
Light Urple
#B36FF6
ΔE00 5.62
Bright Lavender
#C760FF
ΔE00 5.95
Bright Lilac
#C95EFB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7CFD #ACFD7C
analogous
#8D7CFD #CD7CFD #FD7CED
triadic
#CD7CFD #FDCD7C #7CFDCD
tetradic
#CD7CFD #FD8D7C #ACFD7C #7CEDFD
square
#CD7CFD #FD8D7C #ACFD7C #7CEDFD
split-complementary
#CD7CFD #EDFD7C #7CFD8D
monochromatic
#9F04FB #B640FC #CD7CFD #E4B8FE #F3E1FF
Accessibility & contrast
On white
2.66
#CD7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.90
#CD7CFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7CFD
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7CFD | 1.00 | 2.66 | 7.90 | 7.90 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#74A0FA
Tritanopia (blue-blind)
#C891B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7cfd; /* rgb */ color: rgb(205, 124, 253); /* oklch */ color: oklch(72.4% 0.194 311.4);
Tailwind
colors: {
custom: {
50: '#dfa4fe',
500: '#cd7cfd',
950: '#000000',
},
}SCSS
$custom: #cd7cfd; $custom-light: #dfa4fe; $custom-dark: #000000;
JSON
{
"hex": "#cd7cfd",
"rgb": {
"r": 205,
"g": 124,
"b": 253
},
"hsl": {
"h": 277.674,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.72351,
"c": 0.19442,
"h": 311.4
},
"luminance": 0.34486
}Semantic roles & 50–950 ramp
primary
#CD7CFD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86