#CD7BFE#CD7BFE
#CD7BFE is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.3% C 0.197 H 311.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BFE |
|---|---|
| RGB | rgb(205, 123, 254) |
| HSL | hsl(278, 98%, 74%) |
| HSV | hsv(278, 52%, 100%) |
| CMYK | cmyk(19.3%, 51.6%, 0%, 0.4%) |
| CIE-LAB | lab(65.20, 54.01, -52.92) |
| CIE-LCH | lch(65.20, 75.62, 315.59°) |
| OKLab | oklab(72.26% 0.1301 -0.148) |
| OKLCH | oklch(72.26% 0.197 311.3) |
| XYZ | xyz(50.1460, 34.3018, 97.7260) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.64
Easter Purple
#C071FE
ΔE00 3.37
Liliac
#C48EFD
ΔE00 4.75
Light Urple
#B36FF6
ΔE00 5.47
Bright Lavender
#C760FF
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BFE #ACFE7B
analogous
#8C7BFE #CD7BFE #FE7BEE
triadic
#CD7BFE #FECD7B #7BFECD
tetradic
#CD7BFE #FE8C7B #ACFE7B #7BEEFE
square
#CD7BFE #FE8C7B #ACFE7B #7BEEFE
split-complementary
#CD7BFE #EEFE7B #7BFE8C
monochromatic
#9F02FD #B63EFE #CD7BFE #E4B8FE #F3E1FF
Accessibility & contrast
On white
2.67
#CD7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#CD7BFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BFE
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BFE | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#72A0FB
Tritanopia (blue-blind)
#C791B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7bfe; /* rgb */ color: rgb(205, 123, 254); /* oklch */ color: oklch(72.3% 0.197 311.3);
Tailwind
colors: {
custom: {
50: '#dfa4ff',
500: '#cd7bfe',
950: '#000000',
},
}SCSS
$custom: #cd7bfe; $custom-light: #dfa4ff; $custom-dark: #000000;
JSON
{
"hex": "#cd7bfe",
"rgb": {
"r": 205,
"g": 123,
"b": 254
},
"hsl": {
"h": 277.557,
"s": 98.496,
"l": 73.922
},
"oklch": {
"l": 0.7226,
"c": 0.19704,
"h": 311.3
},
"luminance": 0.34301
}Semantic roles & 50–950 ramp
primary
#CD7BFE
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86