#CF79FB#CF79FB
#CF79FB is a light, vivid violet. Relative luminance 0.339; OKLCH L 72.0% C 0.198 H 313.0°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CF79FB |
|---|---|
| RGB | rgb(207, 121, 251) |
| HSL | hsl(280, 94%, 73%) |
| HSV | hsv(280, 52%, 98%) |
| CMYK | cmyk(17.5%, 51.8%, 0%, 1.6%) |
| CIE-LAB | lab(64.89, 54.91, -51.76) |
| CIE-LCH | lch(64.89, 75.46, 316.70°) |
| OKLab | oklab(72.03% 0.1348 -0.1445) |
| OKLCH | oklch(72.03% 0.198 313) |
| XYZ | xyz(49.9791, 33.9064, 95.1599) |
| Luminance | 0.3391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.84
Easter Purple
#C071FE
ΔE00 3.55
Liliac
#C48EFD
ΔE00 5.31
Bright Lavender
#C760FF
ΔE00 5.52
Light Urple
#B36FF6
ΔE00 5.64
Bright Lilac
#C95EFB
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF79FB #A5FB79
analogous
#8E79FB #CF79FB #FB79E6
triadic
#CF79FB #FBCF79 #79FBCF
tetradic
#CF79FB #FB8E79 #A5FB79 #79E6FB
square
#CF79FB #FB8E79 #A5FB79 #79E6FB
split-complementary
#CF79FB #E6FB79 #79FB8E
monochromatic
#A307F2 #BA3EF9 #CF79FB #E4B4FD #F4E1FE
Accessibility & contrast
On white
2.70
#CF79FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#CF79FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF79FB
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF79FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF79FB | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5899FF
Deuteranopia (green-blind)
#749FF8
Tritanopia (blue-blind)
#CB8EAF
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf79fb; /* rgb */ color: rgb(207, 121, 251); /* oklch */ color: oklch(72.0% 0.198 313.0);
Tailwind
colors: {
custom: {
50: '#e0a2fd',
500: '#cf79fb',
950: '#000000',
},
}SCSS
$custom: #cf79fb; $custom-light: #e0a2fd; $custom-dark: #000000;
JSON
{
"hex": "#cf79fb",
"rgb": {
"r": 207,
"g": 121,
"b": 251
},
"hsl": {
"h": 279.692,
"s": 94.203,
"l": 72.941
},
"oklch": {
"l": 0.72029,
"c": 0.19764,
"h": 313
},
"luminance": 0.33905
}Semantic roles & 50–950 ramp
primary
#CF79FB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86