#CD7EFA#CD7EFA
#CD7EFA is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.5% C 0.188 H 312.0°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EFA |
|---|---|
| RGB | rgb(205, 126, 250) |
| HSL | hsl(278, 93%, 74%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(65.60, 51.63, -50.10) |
| CIE-LCH | lch(65.60, 71.94, 315.86°) |
| OKLab | oklab(72.49% 0.1258 -0.1398) |
| OKLCH | oklch(72.49% 0.188 312) |
| XYZ | xyz(49.8900, 34.8040, 94.5137) |
| Luminance | 0.3480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.00
Easter Purple
#C071FE
ΔE00 4.08
Liliac
#C48EFD
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 5.99
Bright Lavender
#C760FF
ΔE00 6.46
Bright Lilac
#C95EFB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EFA #ABFA7E
analogous
#8F7EFA #CD7EFA #FA7EE9
triadic
#CD7EFA #FACD7E #7EFACD
tetradic
#CD7EFA #FA8F7E #ABFA7E #7EE9FA
square
#CD7EFA #FA8F7E #ABFA7E #7EE9FA
split-complementary
#CD7EFA #E9FA7E #7EFA8F
monochromatic
#9F09F4 #B643F8 #CD7EFA #E4B9FC #F4E2FE
Accessibility & contrast
On white
2.64
#CD7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#CD7EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EFA
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EFA | 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)
#609BFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C892B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7efa; /* rgb */ color: rgb(205, 126, 250); /* oklch */ color: oklch(72.5% 0.188 312.0);
Tailwind
colors: {
custom: {
50: '#dfa6fc',
500: '#cd7efa',
950: '#000000',
},
}SCSS
$custom: #cd7efa; $custom-light: #dfa6fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7efa",
"rgb": {
"r": 205,
"g": 126,
"b": 250
},
"hsl": {
"h": 278.226,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.72487,
"c": 0.18806,
"h": 312
},
"luminance": 0.34803
}Semantic roles & 50–950 ramp
primary
#CD7EFA
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85