#CD7DFA#CD7DFA
#CD7DFA is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.3% C 0.190 H 312.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DFA |
|---|---|
| RGB | rgb(205, 125, 250) |
| HSL | hsl(278, 93%, 74%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18%, 50%, 0%, 2%) |
| CIE-LAB | lab(65.40, 52.14, -50.42) |
| CIE-LCH | lch(65.40, 72.53, 315.96°) |
| OKLab | oklab(72.34% 0.1271 -0.1407) |
| OKLCH | oklch(72.34% 0.19 312.1) |
| XYZ | xyz(49.7628, 34.5496, 94.4712) |
| Luminance | 0.3455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.88
Easter Purple
#C071FE
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.44
Light Urple
#B36FF6
ΔE00 5.85
Bright Lavender
#C760FF
ΔE00 6.25
Bright Lilac
#C95EFB
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DFA #AAFA7D
analogous
#8E7DFA #CD7DFA #FA7DE8
triadic
#CD7DFA #FACD7D #7DFACD
tetradic
#CD7DFA #FA8E7D #AAFA7D #7DE8FA
square
#CD7DFA #FA8E7D #AAFA7D #7DE8FA
split-complementary
#CD7DFA #E8FA7D #7DFA8E
monochromatic
#9F09F3 #B642F8 #CD7DFA #E4B8FC #F4E2FE
Accessibility & contrast
On white
2.66
#CD7DFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CD7DFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DFA
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DFA | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C891B0
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7dfa; /* rgb */ color: rgb(205, 125, 250); /* oklch */ color: oklch(72.3% 0.190 312.1);
Tailwind
colors: {
custom: {
50: '#dfa5fc',
500: '#cd7dfa',
950: '#000000',
},
}SCSS
$custom: #cd7dfa; $custom-light: #dfa5fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7dfa",
"rgb": {
"r": 205,
"g": 125,
"b": 250
},
"hsl": {
"h": 278.4,
"s": 92.593,
"l": 73.529
},
"oklch": {
"l": 0.72339,
"c": 0.18962,
"h": 312.1
},
"luminance": 0.34548
}Semantic roles & 50–950 ramp
primary
#CD7DFA
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85