#CD7AF7#CD7AF7
#CD7AF7 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.7% C 0.191 H 313.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CD7AF7 |
|---|---|
| RGB | rgb(205, 122, 247) |
| HSL | hsl(280, 89%, 72%) |
| HSV | hsv(280, 51%, 97%) |
| CMYK | cmyk(17%, 50.6%, 0%, 3.1%) |
| CIE-LAB | lab(64.66, 53.05, -49.94) |
| CIE-LCH | lch(64.66, 72.86, 316.73°) |
| OKLab | oklab(71.74% 0.1308 -0.1393) |
| OKLCH | oklch(71.74% 0.191 313.2) |
| XYZ | xyz(48.9220, 33.6148, 91.8888) |
| Luminance | 0.3361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.71
Easter Purple
#C071FE
ΔE00 3.70
Liliac
#C48EFD
ΔE00 5.13
Light Urple
#B36FF6
ΔE00 5.60
Bright Lavender
#C760FF
ΔE00 5.74
Bright Lilac
#C95EFB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CD7AF7 #A4F77A
analogous
#8F7AF7 #CD7AF7 #F77AE2
triadic
#CD7AF7 #F7CD7A #7AF7CD
tetradic
#CD7AF7 #F78F7A #A4F77A #7AE2F7
square
#CD7AF7 #F78F7A #A4F77A #7AE2F7
split-complementary
#CD7AF7 #E2F77A #7AF78F
monochromatic
#9F0EE9 #B740F4 #CD7AF7 #E3B4FA #F4E2FD
Accessibility & contrast
On white
2.72
#CD7AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.72
#CD7AF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CD7AF7
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CD7AF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CD7AF7 | 1.00 | 2.72 | 7.72 | 7.72 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#C98EAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cd7af7; /* rgb */ color: rgb(205, 122, 247); /* oklch */ color: oklch(71.7% 0.191 313.2);
Tailwind
colors: {
custom: {
50: '#dfa3fa',
500: '#cd7af7',
950: '#000000',
},
}SCSS
$custom: #cd7af7; $custom-light: #dfa3fa; $custom-dark: #000000;
JSON
{
"hex": "#cd7af7",
"rgb": {
"r": 205,
"g": 122,
"b": 247
},
"hsl": {
"h": 279.84,
"s": 88.652,
"l": 72.353
},
"oklch": {
"l": 0.71743,
"c": 0.19107,
"h": 313.2
},
"luminance": 0.33614
}Semantic roles & 50–950 ramp
primary
#CD7AF7
secondary
#E0F5D6
accent
#E5004D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85