#CD7EFB#CD7EFB
#CD7EFB is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.189 H 311.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7EFB |
|---|---|
| RGB | rgb(205, 126, 251) |
| HSL | hsl(278, 94%, 74%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18.3%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(65.64, 51.84, -50.57) |
| CIE-LCH | lch(65.64, 72.42, 315.71°) |
| OKLab | oklab(72.54% 0.1259 -0.1412) |
| OKLCH | oklch(72.54% 0.189 311.7) |
| XYZ | xyz(50.0472, 34.8669, 95.3416) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.98
Easter Purple
#C071FE
ΔE00 4.02
Liliac
#C48EFD
ΔE00 4.21
Light Urple
#B36FF6
ΔE00 5.95
Bright Lavender
#C760FF
ΔE00 6.43
Bright Lilac
#C95EFB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7EFB #ACFB7E
analogous
#8F7EFB #CD7EFB #FB7EEB
triadic
#CD7EFB #FBCD7E #7EFBCD
tetradic
#CD7EFB #FB8F7E #ACFB7E #7EEBFB
square
#CD7EFB #FB8F7E #ACFB7E #7EEBFB
split-complementary
#CD7EFB #EBFB7E #7EFB8F
monochromatic
#9F08F7 #B643F9 #CD7EFB #E4B9FD #F3E1FE
Accessibility & contrast
On white
2.63
#CD7EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CD7EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7EFB
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7EFB | 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)
#5F9BFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#C892B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7efb; /* rgb */ color: rgb(205, 126, 251); /* oklch */ color: oklch(72.5% 0.189 311.7);
Tailwind
colors: {
custom: {
50: '#dfa6fd',
500: '#cd7efb',
950: '#000000',
},
}SCSS
$custom: #cd7efb; $custom-light: #dfa6fd; $custom-dark: #000000;
JSON
{
"hex": "#cd7efb",
"rgb": {
"r": 205,
"g": 126,
"b": 251
},
"hsl": {
"h": 277.92,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.72539,
"c": 0.18915,
"h": 311.7
},
"luminance": 0.34866
}Semantic roles & 50–950 ramp
primary
#CD7EFB
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86