#CF7EFD#CF7EFD
#CF7EFD is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.192 H 312.0°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EFD |
|---|---|
| RGB | rgb(207, 126, 253) |
| HSL | hsl(278, 97%, 74%) |
| HSV | hsv(278, 50%, 99%) |
| CMYK | cmyk(18.2%, 50.2%, 0%, 0.8%) |
| CIE-LAB | lab(65.97, 52.78, -51.15) |
| CIE-LCH | lch(65.97, 73.50, 315.90°) |
| OKLab | oklab(72.86% 0.1284 -0.1428) |
| OKLCH | oklch(72.86% 0.192 312) |
| XYZ | xyz(50.9195, 35.2801, 97.0368) |
| Luminance | 0.3528 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.25
Easter Purple
#C071FE
ΔE00 4.17
Liliac
#C48EFD
ΔE00 4.32
Light Urple
#B36FF6
ΔE00 6.19
Bright Lavender
#C760FF
ΔE00 6.49
Bright Lilac
#C95EFB
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EFD #ACFD7E
analogous
#907EFD #CF7EFD #FD7EEB
triadic
#CF7EFD #FDCF7E #7EFDCF
tetradic
#CF7EFD #FD907E #ACFD7E #7EEBFD
square
#CF7EFD #FD907E #ACFD7E #7EEBFD
split-complementary
#CF7EFD #EBFD7E #7EFD90
monochromatic
#A205FB #B942FC #CF7EFD #E5BAFE #F4E1FF
Accessibility & contrast
On white
2.61
#CF7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#CF7EFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EFD
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EFD | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#CA93B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf7efd; /* rgb */ color: rgb(207, 126, 253); /* oklch */ color: oklch(72.9% 0.192 312.0);
Tailwind
colors: {
custom: {
50: '#e0a6fe',
500: '#cf7efd',
950: '#000000',
},
}SCSS
$custom: #cf7efd; $custom-light: #e0a6fe; $custom-dark: #000000;
JSON
{
"hex": "#cf7efd",
"rgb": {
"r": 207,
"g": 126,
"b": 253
},
"hsl": {
"h": 278.268,
"s": 96.947,
"l": 74.314
},
"oklch": {
"l": 0.72858,
"c": 0.19206,
"h": 312
},
"luminance": 0.35279
}Semantic roles & 50–950 ramp
primary
#CF7EFD
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86