#F781F2#F781F2
#F781F2 is a light, vivid purple. Relative luminance 0.419; OKLCH L 77.3% C 0.197 H 328.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #F781F2 |
|---|---|
| RGB | rgb(247, 129, 242) |
| HSL | hsl(303, 88%, 74%) |
| HSV | hsv(303, 48%, 97%) |
| CMYK | cmyk(0%, 47.8%, 2%, 3.1%) |
| CIE-LAB | lab(70.79, 60.06, -37.21) |
| CIE-LCH | lch(70.79, 70.66, 328.22°) |
| OKLab | oklab(77.3% 0.1684 -0.1018) |
| OKLCH | oklch(77.3% 0.197 328.9) |
| XYZ | xyz(62.2342, 41.8890, 88.7945) |
| Luminance | 0.4189 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.38
Purply Pink
#F075E6
ΔE00 2.88
Candy Pink
#FF63E9
ΔE00 4.92
Lavender Pink
#DD85D7
ΔE00 5.25
Light Magenta
#FA5FF7
ΔE00 5.70
Violet Pink
#FB5FFC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F781F2 #81F786
analogous
#C181F7 #F781F2 #F781B7
triadic
#F781F2 #F2F781 #81F2F7
tetradic
#F781F2 #F7C181 #81F786 #81B7F7
square
#F781F2 #F7C181 #81F786 #81B7F7
split-complementary
#F781F2 #B7F781 #81F7C1
monochromatic
#EE0FE5 #F347EC #F781F2 #FBBBF8 #FDE2FC
Accessibility & contrast
On white
2.24
#F781F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#F781F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F781F2
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F781F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F781F2 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A3F6
Deuteranopia (green-blind)
#9BB3EE
Tritanopia (blue-blind)
#FE8CAF
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #f781f2; /* rgb */ color: rgb(247, 129, 242); /* oklch */ color: oklch(77.3% 0.197 328.9);
Tailwind
colors: {
custom: {
50: '#fca9f6',
500: '#f781f2',
950: '#000000',
},
}SCSS
$custom: #f781f2; $custom-light: #fca9f6; $custom-dark: #000000;
JSON
{
"hex": "#f781f2",
"rgb": {
"r": 247,
"g": 129,
"b": 242
},
"hsl": {
"h": 302.542,
"s": 88.06,
"l": 73.725
},
"oklch": {
"l": 0.77296,
"c": 0.19678,
"h": 328.9
},
"luminance": 0.41885
}Semantic roles & 50–950 ramp
primary
#F781F2
secondary
#D6F5D7
accent
#E50B01
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#181017
muted
#867F85