#EC79F2#EC79F2
#EC79F2 is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 74.9% C 0.203 H 325.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #EC79F2 |
|---|---|
| RGB | rgb(236, 121, 242) |
| HSL | hsl(297, 82%, 71%) |
| HSV | hsv(297, 50%, 95%) |
| CMYK | cmyk(2.5%, 50%, 0%, 5.1%) |
| CIE-LAB | lab(67.96, 60.86, -41.73) |
| CIE-LCH | lch(67.96, 73.79, 325.56°) |
| OKLab | oklab(74.91% 0.167 -0.1149) |
| OKLCH | oklch(74.91% 0.203 325.5) |
| XYZ | xyz(57.4552, 37.9214, 88.2804) |
| Luminance | 0.3792 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.19
Purply Pink
#F075E6
ΔE00 2.36
Light Magenta
#FA5FF7
ΔE00 4.10
Violet Pink
#FB5FFC
ΔE00 4.21
Candy Pink
#FF63E9
ΔE00 4.46
Orchid
#DA70D6
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EC79F2 #7FF279
analogous
#AF79F2 #EC79F2 #F279BB
triadic
#EC79F2 #F2EC79 #79F2EC
tetradic
#EC79F2 #F2AF79 #7FF279 #79BBF2
square
#EC79F2 #F2AF79 #7FF279 #79BBF2
split-complementary
#EC79F2 #BBF279 #79F2AF
monochromatic
#D215DB #E441ED #EC79F2 #F4B1F7 #FBE3FC
Accessibility & contrast
On white
2.45
#EC79F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.58
#EC79F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EC79F2
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EC79F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EC79F2 | 1.00 | 2.45 | 8.58 | 8.58 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#F187AB
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #ec79f2; /* rgb */ color: rgb(236, 121, 242); /* oklch */ color: oklch(74.9% 0.203 325.5);
Tailwind
colors: {
custom: {
50: '#f4a4f7',
500: '#ec79f2',
950: '#000000',
},
}SCSS
$custom: #ec79f2; $custom-light: #f4a4f7; $custom-dark: #000000;
JSON
{
"hex": "#ec79f2",
"rgb": {
"r": 236,
"g": 121,
"b": 242
},
"hsl": {
"h": 297.025,
"s": 82.313,
"l": 71.176
},
"oklch": {
"l": 0.7491,
"c": 0.20273,
"h": 325.5
},
"luminance": 0.37918
}Semantic roles & 50–950 ramp
primary
#EC79F2
secondary
#D5F3D3
accent
#DF0711
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85