#CF7EFE#CF7EFE
#CF7EFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.193 H 311.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EFE |
|---|---|
| RGB | rgb(207, 126, 254) |
| HSL | hsl(278, 98%, 75%) |
| HSV | hsv(278, 50%, 100%) |
| CMYK | cmyk(18.5%, 50.4%, 0%, 0.4%) |
| CIE-LAB | lab(66.02, 53.00, -51.62) |
| CIE-LCH | lch(66.02, 73.98, 315.76°) |
| OKLab | oklab(72.91% 0.1285 -0.1442) |
| OKLCH | oklch(72.91% 0.193 311.7) |
| XYZ | xyz(51.0792, 35.3439, 97.8780) |
| Luminance | 0.3534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.25
Easter Purple
#C071FE
ΔE00 4.12
Liliac
#C48EFD
ΔE00 4.30
Light Urple
#B36FF6
ΔE00 6.16
Bright Lavender
#C760FF
ΔE00 6.46
Bright Lilac
#C95EFB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EFE #ADFE7E
analogous
#8F7EFE #CF7EFE #FE7EED
triadic
#CF7EFE #FECF7E #7EFECF
tetradic
#CF7EFE #FE8F7E #ADFE7E #7EEDFE
square
#CF7EFE #FE8F7E #ADFE7E #7EEDFE
split-complementary
#CF7EFE #EDFE7E #7EFE8F
monochromatic
#A205FD #B841FE #CF7EFE #E6BBFE #F4E1FF
Accessibility & contrast
On white
2.60
#CF7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#CF7EFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EFE
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EFE | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#CA93B3
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf7efe; /* rgb */ color: rgb(207, 126, 254); /* oklch */ color: oklch(72.9% 0.193 311.7);
Tailwind
colors: {
custom: {
50: '#e0a6ff',
500: '#cf7efe',
950: '#000000',
},
}SCSS
$custom: #cf7efe; $custom-light: #e0a6ff; $custom-dark: #000000;
JSON
{
"hex": "#cf7efe",
"rgb": {
"r": 207,
"g": 126,
"b": 254
},
"hsl": {
"h": 277.969,
"s": 98.462,
"l": 74.51
},
"oklch": {
"l": 0.72911,
"c": 0.19314,
"h": 311.7
},
"luminance": 0.35343
}Semantic roles & 50–950 ramp
primary
#CF7EFE
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86