#CD7DFF#CD7DFF
#CD7DFF is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.6% C 0.195 H 310.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DFF |
|---|---|
| RGB | rgb(205, 125, 255) |
| HSL | hsl(277, 100%, 75%) |
| HSV | hsv(277, 51%, 100%) |
| CMYK | cmyk(19.6%, 51%, 0%, 0%) |
| CIE-LAB | lab(65.65, 53.20, -52.76) |
| CIE-LCH | lch(65.65, 74.93, 315.24°) |
| OKLab | oklab(72.6% 0.1276 -0.1475) |
| OKLCH | oklch(72.6% 0.195 310.8) |
| XYZ | xyz(50.5572, 34.8673, 98.6551) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.86
Easter Purple
#C071FE
ΔE00 3.66
Liliac
#C48EFD
ΔE00 4.34
Light Urple
#B36FF6
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 6.12
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DFF #AFFF7D
analogous
#8C7DFF #CD7DFF #FF7DF0
triadic
#CD7DFF #FFCD7D #7DFFCD
tetradic
#CD7DFF #FF8C7D #AFFF7D #7DF0FF
square
#CD7DFF #FF8C7D #AFFF7D #7DF0FF
split-complementary
#CD7DFF #F0FF7D #7DFF8C
monochromatic
#9E03FF #B540FF #CD7DFF #E5BAFF #F3E0FF
Accessibility & contrast
On white
2.63
#CD7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CD7DFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DFF
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DFF | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#C793B3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7dff; /* rgb */ color: rgb(205, 125, 255); /* oklch */ color: oklch(72.6% 0.195 310.8);
Tailwind
colors: {
custom: {
50: '#dfa5ff',
500: '#cd7dff',
950: '#000000',
},
}SCSS
$custom: #cd7dff; $custom-light: #dfa5ff; $custom-dark: #000000;
JSON
{
"hex": "#cd7dff",
"rgb": {
"r": 205,
"g": 125,
"b": 255
},
"hsl": {
"h": 276.923,
"s": 100,
"l": 74.51
},
"oklch": {
"l": 0.72604,
"c": 0.19505,
"h": 310.8
},
"luminance": 0.34866
}Semantic roles & 50–950 ramp
primary
#CD7DFF
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86