#CF7AFD#CF7AFD
#CF7AFD is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.3% C 0.198 H 312.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7AFD |
|---|---|
| RGB | rgb(207, 122, 253) |
| HSL | hsl(279, 97%, 74%) |
| HSV | hsv(279, 52%, 99%) |
| CMYK | cmyk(18.2%, 51.8%, 0%, 0.8%) |
| CIE-LAB | lab(65.18, 54.83, -52.39) |
| CIE-LCH | lch(65.18, 75.83, 316.30°) |
| OKLab | oklab(72.28% 0.1337 -0.1464) |
| OKLCH | oklch(72.28% 0.198 312.4) |
| XYZ | xyz(50.4182, 34.2775, 96.8697) |
| Luminance | 0.3428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.88
Easter Purple
#C071FE
ΔE00 3.56
Liliac
#C48EFD
ΔE00 5.07
Bright Lavender
#C760FF
ΔE00 5.66
Light Urple
#B36FF6
ΔE00 5.69
Bright Lilac
#C95EFB
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7AFD #A8FD7A
analogous
#8D7AFD #CF7AFD #FD7AEA
triadic
#CF7AFD #FDCF7A #7AFDCF
tetradic
#CF7AFD #FD8D7A #A8FD7A #7AEAFD
square
#CF7AFD #FD8D7A #A8FD7A #7AEAFD
split-complementary
#CF7AFD #EAFD7A #7AFD8D
monochromatic
#A304F9 #B93EFC #CF7AFD #E5B6FE #F4E1FF
Accessibility & contrast
On white
2.67
#CF7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#CF7AFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7AFD
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7AFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7AFD | 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)
#73A0FA
Tritanopia (blue-blind)
#CA90B0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7afd; /* rgb */ color: rgb(207, 122, 253); /* oklch */ color: oklch(72.3% 0.198 312.4);
Tailwind
colors: {
custom: {
50: '#e0a3fe',
500: '#cf7afd',
950: '#000000',
},
}SCSS
$custom: #cf7afd; $custom-light: #e0a3fe; $custom-dark: #000000;
JSON
{
"hex": "#cf7afd",
"rgb": {
"r": 207,
"g": 122,
"b": 253
},
"hsl": {
"h": 278.931,
"s": 97.037,
"l": 73.529
},
"oklch": {
"l": 0.72279,
"c": 0.19824,
"h": 312.4
},
"luminance": 0.34276
}Semantic roles & 50–950 ramp
primary
#CF7AFD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86