#CD7DFE#CD7DFE
#CD7DFE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.194 H 311.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DFE |
|---|---|
| RGB | rgb(205, 125, 254) |
| HSL | hsl(277, 98%, 74%) |
| HSV | hsv(277, 51%, 100%) |
| CMYK | cmyk(19.3%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(65.60, 52.99, -52.30) |
| CIE-LCH | lch(65.60, 74.45, 315.38°) |
| OKLab | oklab(72.55% 0.1275 -0.1462) |
| OKLCH | oklch(72.55% 0.194 311.1) |
| XYZ | xyz(50.3966, 34.8031, 97.8095) |
| Luminance | 0.3480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.84
Easter Purple
#C071FE
ΔE00 3.69
Liliac
#C48EFD
ΔE00 4.35
Light Urple
#B36FF6
ΔE00 5.73
Bright Lavender
#C760FF
ΔE00 6.14
Bright Lilac
#C95EFB
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DFE #AEFE7D
analogous
#8D7DFE #CD7DFE #FE7DEF
triadic
#CD7DFE #FECD7D #7DFECD
tetradic
#CD7DFE #FE8D7D #AEFE7D #7DEFFE
square
#CD7DFE #FE8D7D #AEFE7D #7DEFFE
split-complementary
#CD7DFE #EFFE7D #7DFE8D
monochromatic
#9E04FD #B640FE #CD7DFE #E4BAFE #F3E1FF
Accessibility & contrast
On white
2.64
#CD7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#CD7DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DFE
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DFE | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#C792B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7dfe; /* rgb */ color: rgb(205, 125, 254); /* oklch */ color: oklch(72.6% 0.194 311.1);
Tailwind
colors: {
custom: {
50: '#dfa5ff',
500: '#cd7dfe',
950: '#000000',
},
}SCSS
$custom: #cd7dfe; $custom-light: #dfa5ff; $custom-dark: #000000;
JSON
{
"hex": "#cd7dfe",
"rgb": {
"r": 205,
"g": 125,
"b": 254
},
"hsl": {
"h": 277.209,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.72551,
"c": 0.19396,
"h": 311.1
},
"luminance": 0.34802
}Semantic roles & 50–950 ramp
primary
#CD7DFE
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86