#CF7CFE#CF7CFE
#CF7CFE is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.196 H 311.9°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7CFE |
|---|---|
| RGB | rgb(207, 124, 254) |
| HSL | hsl(278, 98%, 74%) |
| HSV | hsv(278, 51%, 100%) |
| CMYK | cmyk(18.5%, 51.2%, 0%, 0.4%) |
| CIE-LAB | lab(65.62, 54.02, -52.24) |
| CIE-LCH | lch(65.62, 75.15, 315.96°) |
| OKLab | oklab(72.62% 0.1312 -0.146) |
| OKLCH | oklch(72.62% 0.196 311.9) |
| XYZ | xyz(50.8260, 34.8376, 97.7936) |
| Luminance | 0.3484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.04
Easter Purple
#C071FE
ΔE00 3.80
Liliac
#C48EFD
ΔE00 4.67
Light Urple
#B36FF6
ΔE00 5.90
Bright Lavender
#C760FF
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7CFE #ABFE7C
analogous
#8E7CFE #CF7CFE #FE7CEC
triadic
#CF7CFE #FECF7C #7CFECF
tetradic
#CF7CFE #FE8E7C #ABFE7C #7CECFE
square
#CF7CFE #FE8E7C #ABFE7C #7CECFE
split-complementary
#CF7CFE #ECFE7C #7CFE8E
monochromatic
#A203FD #B93FFE #CF7CFE #E5B9FE #F4E1FF
Accessibility & contrast
On white
2.64
#CF7CFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#CF7CFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7CFE
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7CFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7CFE | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#CA91B2
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7cfe; /* rgb */ color: rgb(207, 124, 254); /* oklch */ color: oklch(72.6% 0.196 311.9);
Tailwind
colors: {
custom: {
50: '#e0a4ff',
500: '#cf7cfe',
950: '#000000',
},
}SCSS
$custom: #cf7cfe; $custom-light: #e0a4ff; $custom-dark: #000000;
JSON
{
"hex": "#cf7cfe",
"rgb": {
"r": 207,
"g": 124,
"b": 254
},
"hsl": {
"h": 278.308,
"s": 98.485,
"l": 74.118
},
"oklch": {
"l": 0.7262,
"c": 0.19623,
"h": 311.9
},
"luminance": 0.34836
}Semantic roles & 50–950 ramp
primary
#CF7CFE
secondary
#E1F7D4
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86