#CF7EF8#CF7EF8
#CF7EF8 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.187 H 313.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EF8 |
|---|---|
| RGB | rgb(207, 126, 248) |
| HSL | hsl(280, 90%, 73%) |
| HSV | hsv(280, 49%, 97%) |
| CMYK | cmyk(16.5%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(65.72, 51.74, -48.79) |
| CIE-LCH | lch(65.72, 71.11, 316.68°) |
| OKLab | oklab(72.6% 0.1279 -0.1359) |
| OKLCH | oklch(72.6% 0.187 313.3) |
| XYZ | xyz(50.1334, 34.9656, 92.8968) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.40
Easter Purple
#C071FE
ΔE00 4.49
Liliac
#C48EFD
ΔE00 4.50
Light Urple
#B36FF6
ΔE00 6.38
Bright Lavender
#C760FF
ΔE00 6.67
Violet (CSS)
#EE82EE
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EF8 #A7F87E
analogous
#927EF8 #CF7EF8 #F87EE4
triadic
#CF7EF8 #F8CF7E #7EF8CF
tetradic
#CF7EF8 #F8927E #A7F87E #7EE4F8
square
#CF7EF8 #F8927E #A7F87E #7EE4F8
split-complementary
#CF7EF8 #E4F87E #7EF892
monochromatic
#A30DEF #B944F5 #CF7EF8 #E5B8FB #F4E2FD
Accessibility & contrast
On white
2.63
#CF7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#CF7EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EF8
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EF8 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629BFC
Deuteranopia (green-blind)
#7AA2F5
Tritanopia (blue-blind)
#CB91B0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf7ef8; /* rgb */ color: rgb(207, 126, 248); /* oklch */ color: oklch(72.6% 0.187 313.3);
Tailwind
colors: {
custom: {
50: '#e0a6fb',
500: '#cf7ef8',
950: '#000000',
},
}SCSS
$custom: #cf7ef8; $custom-light: #e0a6fb; $custom-dark: #000000;
JSON
{
"hex": "#cf7ef8",
"rgb": {
"r": 207,
"g": 126,
"b": 248
},
"hsl": {
"h": 279.836,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.72598,
"c": 0.18667,
"h": 313.3
},
"luminance": 0.34964
}Semantic roles & 50–950 ramp
primary
#CF7EF8
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85