#CD7BFD#CD7BFD
#CD7BFD is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.2% C 0.196 H 311.6°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7BFD |
|---|---|
| RGB | rgb(205, 123, 253) |
| HSL | hsl(278, 97%, 74%) |
| HSV | hsv(278, 51%, 99%) |
| CMYK | cmyk(19%, 51.4%, 0%, 0.8%) |
| CIE-LAB | lab(65.15, 53.80, -52.45) |
| CIE-LCH | lch(65.15, 75.14, 315.73°) |
| OKLab | oklab(72.21% 0.13 -0.1466) |
| OKLCH | oklch(72.21% 0.196 311.6) |
| XYZ | xyz(49.9862, 34.2380, 96.8848) |
| Luminance | 0.3424 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.63
Easter Purple
#C071FE
ΔE00 3.42
Liliac
#C48EFD
ΔE00 4.76
Light Urple
#B36FF6
ΔE00 5.49
Bright Lavender
#C760FF
ΔE00 5.74
Bright Lilac
#C95EFB
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7BFD #ABFD7B
analogous
#8C7BFD #CD7BFD #FD7BEC
triadic
#CD7BFD #FDCD7B #7BFDCD
tetradic
#CD7BFD #FD8C7B #ABFD7B #7BECFD
square
#CD7BFD #FD8C7B #ABFD7B #7BECFD
split-complementary
#CD7BFD #ECFD7B #7BFD8C
monochromatic
#9F04FA #B63FFC #CD7BFD #E4B7FE #F4E1FF
Accessibility & contrast
On white
2.68
#CD7BFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.85
#CD7BFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7BFD
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7BFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7BFD | 1.00 | 2.68 | 7.85 | 7.85 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#73A0FA
Tritanopia (blue-blind)
#C891B1
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cd7bfd; /* rgb */ color: rgb(205, 123, 253); /* oklch */ color: oklch(72.2% 0.196 311.6);
Tailwind
colors: {
custom: {
50: '#dfa4fe',
500: '#cd7bfd',
950: '#000000',
},
}SCSS
$custom: #cd7bfd; $custom-light: #dfa4fe; $custom-dark: #000000;
JSON
{
"hex": "#cd7bfd",
"rgb": {
"r": 205,
"g": 123,
"b": 253
},
"hsl": {
"h": 277.846,
"s": 97.015,
"l": 73.725
},
"oklch": {
"l": 0.72206,
"c": 0.19596,
"h": 311.6
},
"luminance": 0.34237
}Semantic roles & 50–950 ramp
primary
#CD7BFD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86