#CD7DFB#CD7DFB
#CD7DFB is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.4% C 0.191 H 311.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7DFB |
|---|---|
| RGB | rgb(205, 125, 251) |
| HSL | hsl(278, 94%, 74%) |
| HSV | hsv(278, 50%, 98%) |
| CMYK | cmyk(18.3%, 50.2%, 0%, 1.6%) |
| CIE-LAB | lab(65.45, 52.35, -50.89) |
| CIE-LCH | lch(65.45, 73.01, 315.81°) |
| OKLab | oklab(72.39% 0.1272 -0.1421) |
| OKLCH | oklch(72.39% 0.191 311.8) |
| XYZ | xyz(49.9200, 34.6125, 95.2992) |
| Luminance | 0.3461 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.86
Easter Purple
#C071FE
ΔE00 3.85
Liliac
#C48EFD
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 5.81
Bright Lavender
#C760FF
ΔE00 6.21
Bright Lilac
#C95EFB
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7DFB #ABFB7D
analogous
#8E7DFB #CD7DFB #FB7DEA
triadic
#CD7DFB #FBCD7D #7DFBCD
tetradic
#CD7DFB #FB8E7D #ABFB7D #7DEAFB
square
#CD7DFB #FB8E7D #ABFB7D #7DEAFB
split-complementary
#CD7DFB #EAFB7D #7DFB8E
monochromatic
#9F08F6 #B642F9 #CD7DFB #E4B8FD #F4E1FE
Accessibility & contrast
On white
2.65
#CD7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#CD7DFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7DFB
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7DFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7DFB | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#76A1F8
Tritanopia (blue-blind)
#C892B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cd7dfb; /* rgb */ color: rgb(205, 125, 251); /* oklch */ color: oklch(72.4% 0.191 311.8);
Tailwind
colors: {
custom: {
50: '#dfa5fd',
500: '#cd7dfb',
950: '#000000',
},
}SCSS
$custom: #cd7dfb; $custom-light: #dfa5fd; $custom-dark: #000000;
JSON
{
"hex": "#cd7dfb",
"rgb": {
"r": 205,
"g": 125,
"b": 251
},
"hsl": {
"h": 278.095,
"s": 94.03,
"l": 73.725
},
"oklch": {
"l": 0.72392,
"c": 0.19071,
"h": 311.8
},
"luminance": 0.34611
}Semantic roles & 50–950 ramp
primary
#CD7DFB
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86