#CD7BFB#CD7BFB
#CD7BFB is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.1% C 0.194 H 312.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BFB |
|---|---|
| RGB | rgb(205, 123, 251) |
| HSL | hsl(278, 94%, 73%) |
| HSV | hsv(278, 51%, 98%) |
| CMYK | cmyk(18.3%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(65.05, 53.38, -51.51) |
| CIE-LCH | lch(65.05, 74.18, 316.02°) |
| OKLab | oklab(72.1% 0.1298 -0.1439) |
| OKLCH | oklch(72.1% 0.194 312.1) |
| XYZ | xyz(49.6693, 34.1112, 95.2157) |
| Luminance | 0.3411 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.65
Easter Purple
#C071FE
ΔE00 3.53
Liliac
#C48EFD
ΔE00 4.80
Light Urple
#B36FF6
ΔE00 5.55
Bright Lavender
#C760FF
ΔE00 5.79
Bright Lilac
#C95EFB
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BFB #A9FB7B
analogous
#8D7BFB #CD7BFB #FB7BE9
triadic
#CD7BFB #FBCD7B #7BFBCD
tetradic
#CD7BFB #FB8D7B #A9FB7B #7BE9FB
square
#CD7BFB #FB8D7B #A9FB7B #7BE9FB
split-complementary
#CD7BFB #E9FB7B #7BFB8D
monochromatic
#9F07F4 #B740F9 #CD7BFB #E3B6FD #F4E1FE
Accessibility & contrast
On white
2.68
#CD7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.82
#CD7BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BFB
7.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BFB | 1.00 | 2.68 | 7.82 | 7.82 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#74A0F8
Tritanopia (blue-blind)
#C890B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7bfb; /* rgb */ color: rgb(205, 123, 251); /* oklch */ color: oklch(72.1% 0.194 312.1);
Tailwind
colors: {
custom: {
50: '#dfa4fd',
500: '#cd7bfb',
950: '#000000',
},
}SCSS
$custom: #cd7bfb; $custom-light: #dfa4fd; $custom-dark: #000000;
JSON
{
"hex": "#cd7bfb",
"rgb": {
"r": 205,
"g": 123,
"b": 251
},
"hsl": {
"h": 278.438,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.72099,
"c": 0.19381,
"h": 312.1
},
"luminance": 0.3411
}Semantic roles & 50–950 ramp
primary
#CD7BFB
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86