#CF79F7#CF79F7
#CF79F7 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.8% C 0.193 H 314.0°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79F7 |
|---|---|
| RGB | rgb(207, 121, 247) |
| HSL | hsl(281, 89%, 72%) |
| HSV | hsv(281, 51%, 97%) |
| CMYK | cmyk(16.2%, 51%, 0%, 3.1%) |
| CIE-LAB | lab(64.69, 54.09, -49.87) |
| CIE-LCH | lch(64.69, 73.57, 317.32°) |
| OKLab | oklab(71.82% 0.1344 -0.1391) |
| OKLCH | oklch(71.82% 0.193 314) |
| XYZ | xyz(49.3552, 33.6569, 91.8741) |
| Luminance | 0.3366 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.00
Easter Purple
#C071FE
ΔE00 3.87
Liliac
#C48EFD
ΔE00 5.45
Bright Lavender
#C760FF
ΔE00 5.69
Bright Lilac
#C95EFB
ΔE00 5.76
Light Urple
#B36FF6
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79F7 #A1F779
analogous
#9079F7 #CF79F7 #F779E0
triadic
#CF79F7 #F7CF79 #79F7CF
tetradic
#CF79F7 #F79079 #A1F779 #79E0F7
square
#CF79F7 #F79079 #A1F779 #79E0F7
split-complementary
#CF79F7 #E0F779 #79F790
monochromatic
#A30EE8 #BA3FF4 #CF79F7 #E4B3FA #F5E2FD
Accessibility & contrast
On white
2.72
#CF79F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#CF79F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79F7
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79F7 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#CC8DAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf79f7; /* rgb */ color: rgb(207, 121, 247); /* oklch */ color: oklch(71.8% 0.193 314.0);
Tailwind
colors: {
custom: {
50: '#e0a2fa',
500: '#cf79f7',
950: '#000000',
},
}SCSS
$custom: #cf79f7; $custom-light: #e0a2fa; $custom-dark: #000000;
JSON
{
"hex": "#cf79f7",
"rgb": {
"r": 207,
"g": 121,
"b": 247
},
"hsl": {
"h": 280.952,
"s": 88.732,
"l": 72.157
},
"oklch": {
"l": 0.71818,
"c": 0.19343,
"h": 314
},
"luminance": 0.33656
}Semantic roles & 50–950 ramp
primary
#CF79F7
secondary
#E0F5D6
accent
#E50049
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85