#CD7BFA#CD7BFA
#CD7BFA is a light, vivid violet. Relative luminance 0.340; OKLCH L 72.0% C 0.193 H 312.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BFA |
|---|---|
| RGB | rgb(205, 123, 250) |
| HSL | hsl(279, 93%, 73%) |
| HSV | hsv(279, 51%, 98%) |
| CMYK | cmyk(18%, 50.8%, 0%, 2%) |
| CIE-LAB | lab(65.00, 53.17, -51.04) |
| CIE-LCH | lch(65.00, 73.70, 316.17°) |
| OKLab | oklab(72.05% 0.1297 -0.1425) |
| OKLCH | oklch(72.05% 0.193 312.3) |
| XYZ | xyz(49.5121, 34.0483, 94.3877) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.67
Easter Purple
#C071FE
ΔE00 3.60
Liliac
#C48EFD
ΔE00 4.83
Light Urple
#B36FF6
ΔE00 5.59
Bright Lavender
#C760FF
ΔE00 5.82
Bright Lilac
#C95EFB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BFA #A8FA7B
analogous
#8D7BFA #CD7BFA #FA7BE8
triadic
#CD7BFA #FACD7B #7BFACD
tetradic
#CD7BFA #FA8D7B #A8FA7B #7BE8FA
square
#CD7BFA #FA8D7B #A8FA7B #7BE8FA
split-complementary
#CD7BFA #E8FA7B #7BFA8D
monochromatic
#9F09F1 #B740F8 #CD7BFA #E3B6FC #F4E2FE
Accessibility & contrast
On white
2.69
#CD7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#CD7BFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BFA
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BFA | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#75A0F7
Tritanopia (blue-blind)
#C890AF
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7bfa; /* rgb */ color: rgb(205, 123, 250); /* oklch */ color: oklch(72.0% 0.193 312.3);
Tailwind
colors: {
custom: {
50: '#dfa4fc',
500: '#cd7bfa',
950: '#000000',
},
}SCSS
$custom: #cd7bfa; $custom-light: #dfa4fc; $custom-dark: #000000;
JSON
{
"hex": "#cd7bfa",
"rgb": {
"r": 205,
"g": 123,
"b": 250
},
"hsl": {
"h": 278.74,
"s": 92.701,
"l": 73.137
},
"oklch": {
"l": 0.72046,
"c": 0.19273,
"h": 312.3
},
"luminance": 0.34047
}Semantic roles & 50–950 ramp
primary
#CD7BFA
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85