#CF7EFA#CF7EFA
#CF7EFA is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.7% C 0.189 H 312.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EFA |
|---|---|
| RGB | rgb(207, 126, 250) |
| HSL | hsl(279, 93%, 74%) |
| HSV | hsv(279, 50%, 98%) |
| CMYK | cmyk(17.2%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(65.82, 52.15, -49.73) |
| CIE-LCH | lch(65.82, 72.07, 316.36°) |
| OKLab | oklab(72.7% 0.1281 -0.1387) |
| OKLCH | oklch(72.7% 0.189 312.7) |
| XYZ | xyz(50.4453, 35.0904, 94.5397) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.32
Easter Purple
#C071FE
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.41
Light Urple
#B36FF6
ΔE00 6.29
Bright Lavender
#C760FF
ΔE00 6.58
Bright Lilac
#C95EFB
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EFA #A9FA7E
analogous
#917EFA #CF7EFA #FA7EE7
triadic
#CF7EFA #FACF7E #7EFACF
tetradic
#CF7EFA #FA917E #A9FA7E #7EE7FA
square
#CF7EFA #FA917E #A9FA7E #7EE7FA
split-complementary
#CF7EFA #E7FA7E #7EFA91
monochromatic
#A309F4 #B943F8 #CF7EFA #E5B9FC #F4E2FE
Accessibility & contrast
On white
2.62
#CF7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#CF7EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EFA
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EFA | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#CB92B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf7efa; /* rgb */ color: rgb(207, 126, 250); /* oklch */ color: oklch(72.7% 0.189 312.7);
Tailwind
colors: {
custom: {
50: '#e0a6fc',
500: '#cf7efa',
950: '#000000',
},
}SCSS
$custom: #cf7efa; $custom-light: #e0a6fc; $custom-dark: #000000;
JSON
{
"hex": "#cf7efa",
"rgb": {
"r": 207,
"g": 126,
"b": 250
},
"hsl": {
"h": 279.194,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.72702,
"c": 0.18882,
"h": 312.7
},
"luminance": 0.35089
}Semantic roles & 50–950 ramp
primary
#CF7EFA
secondary
#E0F6D5
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85