#CD7FFE#CD7FFE
#CD7FFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.191 H 310.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7FFE |
|---|---|
| RGB | rgb(205, 127, 254) |
| HSL | hsl(277, 98%, 75%) |
| HSV | hsv(277, 50%, 100%) |
| CMYK | cmyk(19.3%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(65.99, 51.96, -51.67) |
| CIE-LCH | lch(65.99, 73.27, 315.16°) |
| OKLab | oklab(72.85% 0.1249 -0.1444) |
| OKLCH | oklch(72.85% 0.191 310.9) |
| XYZ | xyz(50.6523, 35.3146, 97.8948) |
| Luminance | 0.3531 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.10
Liliac
#C48EFD
ΔE00 3.95
Easter Purple
#C071FE
ΔE00 4.04
Light Urple
#B36FF6
ΔE00 6.01
Bright Lavender
#C760FF
ΔE00 6.57
Bright Lilac
#C95EFB
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7FFE #B0FE7F
analogous
#8D7FFE #CD7FFE #FE7FF0
triadic
#CD7FFE #FECD7F #7FFECD
tetradic
#CD7FFE #FE8D7F #B0FE7F #7FF0FE
square
#CD7FFE #FE8D7F #B0FE7F #7FF0FE
split-complementary
#CD7FFE #F0FE7F #7FFE8D
monochromatic
#9E06FD #B542FE #CD7FFE #E5BCFE #F3E1FF
Accessibility & contrast
On white
2.60
#CD7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#CD7FFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7FFE
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7FFE | 1.00 | 2.60 | 8.06 | 8.06 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C794B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cd7ffe; /* rgb */ color: rgb(205, 127, 254); /* oklch */ color: oklch(72.8% 0.191 310.9);
Tailwind
colors: {
custom: {
50: '#dfa6ff',
500: '#cd7ffe',
950: '#000000',
},
}SCSS
$custom: #cd7ffe; $custom-light: #dfa6ff; $custom-dark: #000000;
JSON
{
"hex": "#cd7ffe",
"rgb": {
"r": 205,
"g": 127,
"b": 254
},
"hsl": {
"h": 276.85,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.72845,
"c": 0.19087,
"h": 310.9
},
"luminance": 0.35314
}Semantic roles & 50–950 ramp
primary
#CD7FFE
secondary
#E1F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86